version 1.5, 2011/06/13 11:31:13 |
version 1.25, 2013/04/17 10:00:57 |
Line 10 HOMEPAGE= http://www.python.org/ |
|
Line 10 HOMEPAGE= http://www.python.org/ |
|
COMMENT= Interpreted, interactive, object-oriented programming language |
COMMENT= Interpreted, interactive, object-oriented programming language |
LICENSE= python-software-foundation |
LICENSE= python-software-foundation |
|
|
PKG_DESTDIR_SUPPORT= user-destdir |
|
|
|
CONFLICTS+= python-[0-9]* |
CONFLICTS+= python-[0-9]* |
|
|
GNU_CONFIGURE= yes |
GNU_CONFIGURE= yes |
Line 20 CONFIGURE_ARGS+= --enable-shared |
|
Line 18 CONFIGURE_ARGS+= --enable-shared |
|
CONFIGURE_ARGS+= OPT=${CFLAGS:Q} |
CONFIGURE_ARGS+= OPT=${CFLAGS:Q} |
CONFIGURE_ARGS+= --with-system-ffi |
CONFIGURE_ARGS+= --with-system-ffi |
CONFIGURE_ARGS+= --with-dbmliborder=ndbm:bdb |
CONFIGURE_ARGS+= --with-dbmliborder=ndbm:bdb |
|
CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} |
|
|
LDFLAGS+= -L${WRKSRC} |
LDFLAGS+= -L${WRKSRC} |
|
|
Line 34 PTHREAD_OPTS+= require |
|
Line 33 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 48 PLIST_SRC+= ${.CURDIR}/../../lang/python |
|
Line 54 PLIST_SRC+= ${.CURDIR}/../../lang/python |
|
PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end |
PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end |
|
|
.if ${OPSYS} == "NetBSD" |
.if ${OPSYS} == "NetBSD" |
|
. if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) |
PRIVILEGED_STAGES+= clean |
PRIVILEGED_STAGES+= clean |
|
. endif |
# XXX work around a botched autoconf check which ignores libintl |
# XXX work around a botched autoconf check which ignores libintl |
CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
.endif |
.endif |
|
|
.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" |
.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" |
PY_PLATNAME= ${LOWER_OPSYS} |
PY_PLATNAME= ${LOWER_OPSYS} |
USE_TOOLS+= gmake |
USE_TOOLS+= gmake |
.elif ${OPSYS} == "IRIX" |
.elif ${OPSYS} == "IRIX" |
Line 62 PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
|
Line 70 PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
|
PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
.elif ${OPSYS} == "HPUX" |
.elif ${OPSYS} == "HPUX" |
PY_PLATNAME= hp-ux11 |
PY_PLATNAME= hp-ux11 |
|
.elif ${OPSYS} == "Linux" |
|
PY_PLATNAME= linux2 |
.else |
.else |
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
.endif |
.endif |
|
|
|
|
# builds additional modules if OpenSSL < 0.9.8 |
# builds additional modules if OpenSSL < 0.9.8 |
PLIST_VARS+= openssl097 |
PLIST_VARS+= openssl097 |
CHECK_BUILTIN.openssl:= no |
|
.include "../../security/openssl/builtin.mk" |
|
CHECK_BUILTIN.openssl:= yes |
CHECK_BUILTIN.openssl:= yes |
|
.include "../../security/openssl/builtin.mk" |
|
CHECK_BUILTIN.openssl:= no |
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && \ |
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && \ |
!empty(BUILTIN_PKG.openssl:Mopenssl-0.9.[67]*) |
!empty(BUILTIN_PKG.openssl:Mopenssl-0.9.[67]*) |
PLIST.openssl097= yes |
PLIST.openssl097= yes |
|
|
. 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 |