ports/158678: [PATCH] audio/amarok doesn't build with ruby 1.9, mark it as such

Steve Wills swills at FreeBSD.org
Wed Jul 6 03:20:09 UTC 2011


>Number:         158678
>Category:       ports
>Synopsis:       [PATCH] audio/amarok doesn't build with ruby 1.9, mark it as such
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 03:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        
>Organization:
>Environment:
>Description:
audio/amarok doesn't build with Ruby 1.9. It bombs with a configure error, but even after I hacked up a patch to work around that, it still failed to compile because the code doesn't work with the changes for Ruby 1.9. Lots of errors like this are reported:

error: 'struct RString' has no member named 'ptr'




>How-To-Repeat:

>Fix:
See attached patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/amarok/Makefile,v
retrieving revision 1.105
diff -u -r1.105 Makefile
--- Makefile	15 Mar 2011 15:05:39 -0000	1.105
+++ Makefile	6 Jul 2011 03:16:23 -0000
@@ -44,6 +44,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${RUBY_VER} == 1.9
+BROKEN=	does not build with ruby 1.9
+.endif
+
 CONFIGURE_ARGS+=--without-exscalibar \
 		--with-mp4v2 \
 		--with-mp4v2-dir=${PREFIX}


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list