Sat Apr 13 12:55:53 2013 UTC ()
Cygwin also require gmake to build.


(obache)
diff -r1.23 -r1.24 pkgsrc/lang/python27/Makefile

cvs diff -r1.23 -r1.24 pkgsrc/lang/python27/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/python27/Makefile 2013/04/12 09:03:41 1.23
+++ pkgsrc/lang/python27/Makefile 2013/04/13 12:55:53 1.24
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.23 2013/04/12 09:03:41 adam Exp $ 1# $NetBSD: Makefile,v 1.24 2013/04/13 12:55:53 obache Exp $
2 2
3.include "dist.mk" 3.include "dist.mk"
4 4
5PKGNAME= python27-${PY_DISTVERSION} 5PKGNAME= python27-${PY_DISTVERSION}
6CATEGORIES= lang python 6CATEGORIES= lang python
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.python.org/ 9HOMEPAGE= http://www.python.org/
10COMMENT= Interpreted, interactive, object-oriented programming language 10COMMENT= Interpreted, interactive, object-oriented programming language
11LICENSE= python-software-foundation 11LICENSE= python-software-foundation
12 12
13CONFLICTS+= python-[0-9]* 13CONFLICTS+= python-[0-9]*
14 14
@@ -50,27 +50,27 @@ PLIST_SRC= ${.CURDIR}/../../lang/python2 @@ -50,27 +50,27 @@ PLIST_SRC= ${.CURDIR}/../../lang/python2
50.if exists(${.CURDIR}/../../lang/python27/PLIST.${OPSYS}) 50.if exists(${.CURDIR}/../../lang/python27/PLIST.${OPSYS})
51PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.${OPSYS} 51PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.${OPSYS}
52.endif 52.endif
53PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end 53PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end
54 54
55.if ${OPSYS} == "NetBSD" 55.if ${OPSYS} == "NetBSD"
56. if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) 56. if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss])
57PRIVILEGED_STAGES+= clean 57PRIVILEGED_STAGES+= clean
58. endif 58. endif
59# XXX work around a botched autoconf check which ignores libintl 59# XXX work around a botched autoconf check which ignores libintl
60CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes 60CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes
61.endif 61.endif
62 62
63.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" 63.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
64PY_PLATNAME= ${LOWER_OPSYS} 64PY_PLATNAME= ${LOWER_OPSYS}
65USE_TOOLS+= gmake 65USE_TOOLS+= gmake
66.elif ${OPSYS} == "IRIX" 66.elif ${OPSYS} == "IRIX"
67PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} 67PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
68.elif ${OPSYS} == "SunOS" 68.elif ${OPSYS} == "SunOS"
69PY_PLATNAME= sunos${OS_VERSION:C/\..*//} 69PY_PLATNAME= sunos${OS_VERSION:C/\..*//}
70.elif ${OPSYS} == "HPUX" 70.elif ${OPSYS} == "HPUX"
71PY_PLATNAME= hp-ux11 71PY_PLATNAME= hp-ux11
72.elif ${OPSYS} == "Linux" 72.elif ${OPSYS} == "Linux"
73PY_PLATNAME= linux2 73PY_PLATNAME= linux2
74.else 74.else
75PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} 75PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
76.endif 76.endif