FreeBSD Bugzilla – Attachment 113552 Details for
Bug 155114
[patch] graphics/graphviz: Fails to build ruby plugin (w/ruby19)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.30 KB, created by
Scot Hetzel
on 2011-02-28 09:00:20 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot Hetzel
Created:
2011-02-28 09:00:20 UTC
Size:
2.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/graphics/graphviz/Makefile,v >retrieving revision 1.131 >diff -u -r1.131 Makefile >--- Makefile 4 Dec 2010 07:31:59 -0000 1.131 >+++ Makefile 28 Feb 2011 06:39:25 -0000 >@@ -331,6 +331,7 @@ > > .if defined(WITH_RUBY) > CONFIGURE_ARGS+= --enable-ruby >+CONFIGURE_ENV+= RUBY="${RUBY}" > PLIST_SUB+= WITH_RUBY="" > USE_RUBY= yes > .include "${PORTSDIR}/Mk/bsd.ruby.mk" >Index: files/patch-configure >=================================================================== >RCS file: /home/ncvs/ports/graphics/graphviz/files/patch-configure,v >retrieving revision 1.9 >diff -u -r1.9 patch-configure >--- files/patch-configure 15 Mar 2009 13:20:55 -0000 1.9 >+++ files/patch-configure 28 Feb 2011 06:36:57 -0000 >@@ -1,6 +1,6 @@ >---- configure.orig 2008-10-08 01:54:55.000000000 +0200 >-+++ configure 2009-02-27 11:12:03.000000000 +0100 >-@@ -6481,6 +6481,9 @@ >+--- configure.orig 2010-01-26 16:01:10.000000000 +0000 >++++ configure 2011-02-28 06:36:25.156165774 +0000 >+@@ -6917,6 +6917,9 @@ > *-apple-darwin* ) > CFLAGS="${CFLAGS} -fno-common -Wall" > ;; >@@ -10,7 +10,7 @@ > *-freebsd* ) > CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math" > ;; >-@@ -26247,7 +26250,9 @@ >+@@ -24803,7 +24806,9 @@ > > LUA_INCLUDES="" > LUA_LIBS="" >@@ -21,3 +21,19 @@ > > if test -n "$lua_inc"; then > CFLAGS="$CFLAGS -I$lua_inc" >+@@ -27574,7 +27579,14 @@ >+ if test "x$RUBY" = "x"; then >+ use_ruby="No (ruby not available)" >+ else >+- RUBY_INCLUDES="-I`$RUBY $srcdir/config/config_ruby.rb INCLUDES`" >++ RUBY_VER="`$RUBY -rrbconfig -e \"puts Config::CONFIG['ruby_version']\"`" >++ if test "x$RUBY_VER" = "x1.8"; then >++ RUBY_INCLUDES="-I`$RUBY $srcdir/config/config_ruby.rb INCLUDES`" >++ else >++ RUBY_INC="`$RUBY -rrbconfig -e \"puts Config::CONFIG['rubyhdrdir']\"`" >++ RUBY_ARCH="`$RUBY -rrbconfig -e \"puts Config::CONFIG['arch']\"`" >++ RUBY_INCLUDES="-I$RUBY_INC -I$RUBY_INC/$RUBY_ARCH" >++ fi >+ # hack for powerpc-darwin8 (10.4) >+ RUBY_INCLUDES=`echo $RUBY_INCLUDES | sed 's/powerpc/universal/'` >+ RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155114
: 113552