summaryrefslogtreecommitdiffstats
path: root/lang/python31
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-10-06 06:49:13 +0000
committertg <tg@FreeBSD.org>1998-10-06 06:49:13 +0000
commit65f8a63d97b1ee024bcfd63b662f9de928ea97ba (patch)
tree4230dca542f49809bf31a6e744a081963bd6bb56 /lang/python31
parent5a25a2c136254a6291a763456af144e81769a95e (diff)
downloadFreeBSD-ports-65f8a63d97b1ee024bcfd63b662f9de928ea97ba.zip
FreeBSD-ports-65f8a63d97b1ee024bcfd63b662f9de928ea97ba.tar.gz
Support dynamic loading of modules in an ELF world.
Submitted by: Vladimir Kushnir <kushn@mail.kar.net>
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 468b678..491a1aa 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -3,7 +3,7 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.38 1998/08/07 23:56:28 asami Exp $
+# $Id: Makefile,v 1.39 1998/09/25 10:05:08 asami Exp $
#
DISTNAME= pyth151
@@ -24,7 +24,7 @@ PATCHFILES= _tkinter.1.txt SocketServer.1.txt bltinmodule.1.txt \
string.1.txt stringobject.1.txt stropmodule.1.txt \
timemodule.1.txt urllib.1.txt urllib.2.txt zlibmodule.1.txt
-MAINTAINER= tg@FreeBSD.org
+MAINTAINER= tg@FreeBSD.ORG
LIB_DEPENDS= ${TK_DEPENDS}
@@ -98,3 +98,9 @@ post-install:
strip ${PREFIX}/bin/python
.include <bsd.port.mk>
+
+# need <bsd.port.mk> to get ${PORTOBJFORMAT}
+.if ${PORTOBJFORMAT} == elf
+LDFLAGS+= -rdynamic
+CONFIGURE_ENV?= LDFLAGS="${LDFLAGS}"
+.endif
OpenPOWER on IntegriCloud