| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.33 2011/04/23 17:31:40 tron Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2011/05/15 10:07:20 hans Exp $ |
2 | | | 2 | |
3 | .include "dist.mk" | | 3 | .include "dist.mk" |
4 | | | 4 | |
5 | PKGNAME= python25-${PY_DISTVERSION} | | 5 | PKGNAME= python25-${PY_DISTVERSION} |
6 | PKGREVISION= 5 | | 6 | PKGREVISION= 5 |
7 | CATEGORIES= lang python | | 7 | CATEGORIES= lang python |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.python.org/ | | 10 | HOMEPAGE= http://www.python.org/ |
11 | COMMENT= Interpreted, interactive, object-oriented programming language | | 11 | COMMENT= Interpreted, interactive, object-oriented programming language |
12 | LICENSE= python-software-foundation | | 12 | LICENSE= python-software-foundation |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
| @@ -46,26 +46,27 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python | | | @@ -46,26 +46,27 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python |
46 | .if ${OPSYS} == "NetBSD" | | 46 | .if ${OPSYS} == "NetBSD" |
47 | PRIVILEGED_STAGES+= clean | | 47 | PRIVILEGED_STAGES+= clean |
48 | # XXX work around a botched autoconf check which ignores libintl | | 48 | # XXX work around a botched autoconf check which ignores libintl |
49 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes | | 49 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
50 | .endif | | 50 | .endif |
51 | | | 51 | |
52 | .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" | | 52 | .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" |
53 | PY_PLATNAME= ${LOWER_OPSYS} | | 53 | PY_PLATNAME= ${LOWER_OPSYS} |
54 | USE_TOOLS+= gmake | | 54 | USE_TOOLS+= gmake |
55 | .elif ${OPSYS} == "IRIX" | | 55 | .elif ${OPSYS} == "IRIX" |
56 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} | | 56 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
57 | .elif ${OPSYS} == "SunOS" | | 57 | .elif ${OPSYS} == "SunOS" |
58 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} | | 58 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
| | | 59 | CONFIGURE_ENV+= ac_cv_header_netpacket_packet_h=no |
59 | .elif ${OPSYS} == "HPUX" | | 60 | .elif ${OPSYS} == "HPUX" |
60 | PY_PLATNAME= hp-ux11 | | 61 | PY_PLATNAME= hp-ux11 |
61 | .else | | 62 | .else |
62 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} | | 63 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
63 | .endif | | 64 | .endif |
64 | PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} | | 65 | PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} |
65 | | | 66 | |
66 | .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ | | 67 | .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ |
67 | (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ | | 68 | (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ |
68 | (defined(ABI) && ${ABI} == "64") | | 69 | (defined(ABI) && ${ABI} == "64") |
69 | IS_64BIT_PLATFORM?= yes | | 70 | IS_64BIT_PLATFORM?= yes |
70 | .else | | 71 | .else |
71 | IS_64BIT_PLATFORM?= no | | 72 | IS_64BIT_PLATFORM?= no |