summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authortron <tron>2007-06-08 22:16:25 +0000
committertron <tron>2007-06-08 22:16:25 +0000
commit3552aca0895cdd37b72e6dda04aa300b6acf6518 (patch)
tree5368ce191b17cb71355f6976b610e3fa17d6aa00 /lang/python24
parentc2ef156966fc5f5a607db16b5096414256072bc4 (diff)
downloadpkgsrc-3552aca0895cdd37b72e6dda04aa300b6acf6518.tar.gz
We have to use GNU make under Mac OS X because the "configure" script
generates a GNU make specific makefile on this platform.
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 7e5b0d2692d..971ed0ba1f4 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2007/06/08 14:16:15 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.32 2007/06/08 22:16:25 tron Exp $
DISTNAME= Python-2.4.4
PKGNAME= python24-2.4.4
@@ -46,6 +45,7 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python24/PLIST.common_end
.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
PY_PLATNAME= ${LOWER_OPSYS}
+USE_TOOLS+= gmake
.elif ${OPSYS} == "IRIX"
PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
.elif ${OPSYS} == "SunOS"
@@ -142,7 +142,8 @@ post-extract:
.if ${OPSYS} == "Darwin"
post-build:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} libpython2.4.2.dylib)
+ cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} libpython2.4.2.dylib
post-install:
${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython2.4.2.dylib \