aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/pike-gtk
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
commit99290b0d61db9bcb3c960f5507a8ccb0126a0cf9 (patch)
treebac8f356dc259524716a41398446e5c7d8f95a21 /x11-toolkits/pike-gtk
parentfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (diff)
downloadports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.tar.gz
ports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.zip
Implement USE_GTK, part 2.
Notes
Notes: svn path=/head/; revision=33425
Diffstat (limited to 'x11-toolkits/pike-gtk')
-rw-r--r--x11-toolkits/pike-gtk/Makefile8
-rw-r--r--x11-toolkits/pike-gtk/files/patch-aa11
2 files changed, 12 insertions, 7 deletions
diff --git a/x11-toolkits/pike-gtk/Makefile b/x11-toolkits/pike-gtk/Makefile
index 91e649477fab..6d8b3af890c5 100644
--- a/x11-toolkits/pike-gtk/Makefile
+++ b/x11-toolkits/pike-gtk/Makefile
@@ -14,15 +14,9 @@ DISTNAME= pigtk_${PORTVERSION}
MAINTAINER= ijliao@csie.nctu.edu.tw
BUILD_DEPENDS= pike:${PORTSDIR}/lang/pike
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
USE_XLIB= yes
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config
-
-# To delete "-Wl,-E" from options for ld.
-# (The options are created by gtk12-config.)
-post-configure:
- cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/patch-Makefile
.include <bsd.port.mk>
diff --git a/x11-toolkits/pike-gtk/files/patch-aa b/x11-toolkits/pike-gtk/files/patch-aa
new file mode 100644
index 000000000000..e53c7470b1b9
--- /dev/null
+++ b/x11-toolkits/pike-gtk/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Thu Nov 18 01:52:35 1999
++++ configure Thu Nov 18 01:53:02 1999
+@@ -3198,7 +3198,7 @@
+ next) LDSHARED="$CC $CFLAGS -nostdlib -r";;
+ Linux*) LDSHARED="$CC -shared";;
+ GNU*) LDSHARED="ld -Bshareable";;
+- FreeBSD*) LDSHARED="ld -Bshareable";;
++ FreeBSD*) LDSHARED="$CC -shared";;
+ NetBSD) LDSHARED="ld -Bshareable";;
+ OpenBSD*) LDSHARED="ld -Bshareable";;
+ BSD/OS*) LDSHARED="shlicc -r";;