version 1.4, 2011/04/23 10:35:28 |
version 1.12, 2012/03/05 08:23:24 |
|
|
.include "dist.mk" |
.include "dist.mk" |
|
|
PKGNAME= python27-${PY_DISTVERSION} |
PKGNAME= python27-${PY_DISTVERSION} |
PKGREVISION= 3 |
PKGREVISION= 2 |
CATEGORIES= lang python |
CATEGORIES= lang python |
|
|
MAINTAINER= pkgsrc-users@NetBSD.org |
MAINTAINER= pkgsrc-users@NetBSD.org |
Line 35 PTHREAD_OPTS+= require |
|
Line 35 PTHREAD_OPTS+= require |
|
CONFIGURE_ARGS+= --with-pth |
CONFIGURE_ARGS+= --with-pth |
.endif |
.endif |
|
|
|
.include "../../mk/compiler.mk" |
|
|
|
# Clang needs -fwrapv |
|
.if !empty(PKGSRC_COMPILER:Mclang) |
|
CFLAGS+= -fwrapv |
|
.endif |
|
|
.include "../../mk/bsd.prefs.mk" |
.include "../../mk/bsd.prefs.mk" |
|
|
# fdatasync() |
# fdatasync() |
Line 68 PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION: |
|
Line 75 PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION: |
|
.endif |
.endif |
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} |
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} |
|
|
|
.if ${PY_PLATNAME} == "linux2" |
|
PLIST_SRC+= ${.CURDIR}/../../lang/python24/PLIST.Linux2 |
|
.endif |
|
|
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ |
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ |
(${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ |
(${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ |
(defined(ABI) && ${ABI} == "64") |
(defined(ABI) && ${ABI} == "64") |
|
|
. endif |
. endif |
.else |
.else |
PLIST.dll= yes |
PLIST.dll= yes |
. if ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) |
. if ${OPSYS} == "MirBSD" |
|
# neither nis nor no-nis |
|
. elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) |
PLIST.nis= yes |
PLIST.nis= yes |
. else |
. else |
PLIST.no-nis= yes |
PLIST.no-nis= yes |