diff options
author | knu <knu@FreeBSD.org> | 2001-06-09 11:13:36 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-09 11:13:36 +0800 |
commit | eaf35fa5b3c3702c48dd7a945b499326ecfa58f5 (patch) | |
tree | c2d41287f21798f7b978dfd13a0f4f5750fb3acb /devel/swig13 | |
parent | f76944689527463fcdd92018ef71959cd86bd607 (diff) | |
download | freebsd-ports-gnome-eaf35fa5b3c3702c48dd7a945b499326ecfa58f5.tar.gz freebsd-ports-gnome-eaf35fa5b3c3702c48dd7a945b499326ecfa58f5.tar.zst freebsd-ports-gnome-eaf35fa5b3c3702c48dd7a945b499326ecfa58f5.zip |
Add a patch to fix the build with recent ruby. It has already been
submitted to the SWIG development team.
Diffstat (limited to 'devel/swig13')
-rw-r--r-- | devel/swig13/Makefile | 2 | ||||
-rw-r--r-- | devel/swig13/files/patch-configure | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile index 9b096b512703..0319d89057e9 100644 --- a/devel/swig13/Makefile +++ b/devel/swig13/Makefile @@ -7,7 +7,7 @@ PORTNAME= swig PORTVERSION= ${VER}a5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel perl5 python ruby tcl82 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ftp.rge.com/pub/languages/swig/ \ diff --git a/devel/swig13/files/patch-configure b/devel/swig13/files/patch-configure new file mode 100644 index 000000000000..d4c694cd0142 --- /dev/null +++ b/devel/swig13/files/patch-configure @@ -0,0 +1,22 @@ +--- configure.orig Sat Sep 23 02:14:04 2000 ++++ configure Sat Jun 9 12:08:08 2001 +@@ -2684,7 +2684,7 @@ + echo $ac_n "checking for Ruby header files""... $ac_c" 1>&6 + echo "configure:2686: checking for Ruby header files" >&5 + if test -n "$RUBY"; then +- RUBYDIR=`($RUBY -rmkmf -e 'print $archdir') 2>/dev/null` ++ RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG["archdir"] || $archdir') 2>/dev/null` + if test "$RUBYDIR" != ""; then + dirs="$RUBYDIR" + RUBYINCLUDE=none +--- configure.in.orig Sat Sep 23 02:14:03 2000 ++++ configure.in Sat Jun 9 11:55:20 2001 +@@ -631,7 +631,7 @@ + fi + AC_MSG_CHECKING(for Ruby header files) + if test -n "$RUBY"; then +- RUBYDIR=`($RUBY -rmkmf -e 'print $archdir') 2>/dev/null` ++ RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null` + if test "$RUBYDIR" != ""; then + dirs="$RUBYDIR" + RUBYINCLUDE=none |