aboutsummaryrefslogtreecommitdiff
path: root/lang/python27/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /lang/python27/Makefile
parentc2e32ac36f406a78d4fb097baacb7fd65c4817d8 (diff)
downloadports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.tar.gz
ports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.zip
Notes
Diffstat (limited to 'lang/python27/Makefile')
-rw-r--r--lang/python27/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 491a1aa8f7a5..80e254d58a69 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -3,7 +3,7 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.39 1998/09/25 10:05:08 asami Exp $
+# $Id: Makefile,v 1.40 1998/10/06 06:49:12 tg Exp $
#
DISTNAME= pyth151
@@ -82,7 +82,12 @@ post-configure:
${CAT} ${FILESDIR}/${file} >> ${WRKSRC}/Modules/Setup.local
.endfor
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == elf
+LDFLAGS+= -rdynamic
+CONFIGURE_ENV?= LDFLAGS="${LDFLAGS}"
+.endif
pre-install:
.if ${OSVERSION} < 300000
@@ -97,10 +102,4 @@ post-install:
${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd2/regen ${PREFIX}/lib/python1.5/plat-freebsd3
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
+.include <bsd.port.post.mk>