pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python24 We have to use GNU make under Mac OS X b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7dc88f8ad6b
branches:  trunk
changeset: 529670:f7dc88f8ad6b
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Jun 08 22:16:25 2007 +0000

description:
We have to use GNU make under Mac OS X because the "configure" script
generates a GNU make specific makefile on this platform.

diffstat:

 lang/python24/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r bea81c230151 -r f7dc88f8ad6b lang/python24/Makefile
--- a/lang/python24/Makefile    Fri Jun 08 21:57:33 2007 +0000
+++ b/lang/python24/Makefile    Fri Jun 08 22:16:25 2007 +0000
@@ -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 @@
 
 .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 @@
 
 .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  \



Home | Main Index | Thread Index | Old Index