aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python+ipv6
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-10-27 17:47:23 +0800
committertg <tg@FreeBSD.org>1999-10-27 17:47:23 +0800
commita08fe64d787ce6b4e2b2301e72bbe5d3b4866751 (patch)
treeb521276adbbc5441ffc517ab6834fd00ec908185 /lang/python+ipv6
parent128e26c8950495573e78461996903b8bc46e5828 (diff)
downloadfreebsd-ports-gnome-a08fe64d787ce6b4e2b2301e72bbe5d3b4866751.tar.gz
freebsd-ports-gnome-a08fe64d787ce6b4e2b2301e72bbe5d3b4866751.tar.zst
freebsd-ports-gnome-a08fe64d787ce6b4e2b2301e72bbe5d3b4866751.zip
Link against libxpg4.
Submitted by: foxfair Promote LDFLAGS in the installed setup.
Diffstat (limited to 'lang/python+ipv6')
-rw-r--r--lang/python+ipv6/Makefile2
-rw-r--r--lang/python+ipv6/files/patch-ab6
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/python+ipv6/Makefile b/lang/python+ipv6/Makefile
index 8351705733e0..f7903a58baaa 100644
--- a/lang/python+ipv6/Makefile
+++ b/lang/python+ipv6/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-fpectl
+CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
diff --git a/lang/python+ipv6/files/patch-ab b/lang/python+ipv6/files/patch-ab
index 32ebd4ba01df..3e7967c7c729 100644
--- a/lang/python+ipv6/files/patch-ab
+++ b/lang/python+ipv6/files/patch-ab
@@ -1,11 +1,11 @@
---- configure.orig Mon May 10 23:49:46 1999
-+++ configure Mon May 10 23:50:31 1999
+--- configure.orig Sat Apr 10 18:02:18 1999
++++ configure Fri Sep 10 09:47:29 1999
@@ -2246,7 +2246,7 @@
fi ;;
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
- FreeBSD*/3*) LDSHARED="gcc -shared";;
-+ FreeBSD*/3*|FreeBSD*/4*) LDSHARED="gcc -shared";;
++ FreeBSD*/3*|FreeBSD*/4*) LDSHARED='gcc -shared ${LDFLAGS}';;
FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
NetBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]