aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-05-05 16:53:30 +0800
committertg <tg@FreeBSD.org>1998-05-05 16:53:30 +0800
commit0d782611b6b2df8659d94ff69eab65ba1fa23d02 (patch)
tree40e358b33ae25197fa1ec8c7e819f5f98c6cd2f9 /lang/python/Makefile
parent08be28fc4e7496e4caaa9889b544c6f63701e574 (diff)
downloadfreebsd-ports-gnome-0d782611b6b2df8659d94ff69eab65ba1fa23d02.tar.gz
freebsd-ports-gnome-0d782611b6b2df8659d94ff69eab65ba1fa23d02.tar.zst
freebsd-ports-gnome-0d782611b6b2df8659d94ff69eab65ba1fa23d02.zip
Bring in latest official patches. Use `-pthread' to avoid linking with
libc in the threaded interpreter.
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r--lang/python/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 8f2a7ec8733e..d80ca7071ec3 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -3,7 +3,7 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.27 1998/04/24 08:18:23 tg Exp $
+# $Id: Makefile,v 1.28 1998/04/29 07:15:39 tg Exp $
#
DISTNAME= pyth151
@@ -14,10 +14,10 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
EXTRACT_SUFX= .tgz
PATCH_SITES= http://www.python.org/1.5/patches-1.5.1/
-PATCHFILES= _tkinter.1.txt bltinmodule.1.txt fileobject.1.txt \
- freeze.1.txt object.1.txt \
- parsermodule.1.txt string.1.txt timemodule.1.txt urllib.1.txt \
- zlibmodule.1.txt
+PATCHFILES= _tkinter.1.txt bltinmodule.1.txt configure.2.txt \
+ fileobject.1.txt freeze.1.txt imaplib.1.txt object.1.txt \
+ parsermodule.1.txt pcre.1.txt string.1.txt timemodule.1.txt \
+ urllib.1.txt zlibmodule.1.txt
MAINTAINER= tg@FreeBSD.org
@@ -56,6 +56,7 @@ WITH_THREADS?= yes
.if exists(/usr/lib/libc_r.a) && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
+CONFIGURE_ENV= LDFLAGS="-pthread ${LDFLAGS}"
.endif
#