Step 2: base dep: lang/python27

This commit is contained in:
2014-04-19 16:06:28 +02:00
committed by Lionel Sambuc
parent 6f25e30c5d
commit 8a2a87947a
11 changed files with 222 additions and 11 deletions

View File

@@ -29,12 +29,18 @@ CHECK_PORTABILITY_SKIP= Tools/faqwiz/move-faqwiz.sh
USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
CONFIGURE_ARGS+= --without-threads
.else
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.if ${PTHREAD_TYPE} == "pth"
CONFIGURE_ARGS+= --with-pth
.endif
.endif
.include "../../mk/compiler.mk"
@@ -43,8 +49,6 @@ CONFIGURE_ARGS+= --with-pth
CFLAGS+= -fwrapv
.endif
.include "../../mk/bsd.prefs.mk"
# fdatasync()
LIBS.SunOS+= -lrt
@@ -77,6 +81,8 @@ PY_PLATNAME= hp-ux11
PY_PLATNAME= linux2
.elif ${OS_VARIANT} == "SCOOSR5"
PY_PLATNAME= sco_sv3
.elif ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
PY_PLATNAME= minix3
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
@@ -117,7 +123,8 @@ PLIST.nis= yes
. endif
.else
PLIST.dll= yes
. if ${OPSYS} == "MirBSD"
. if ${OPSYS} == "MirBSD" || \
(${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix")
# neither nis nor no-nis
. elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat)
PLIST.nis= yes