Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/lang/python27/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/lang/python27/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.40 retrieving revision 1.52 diff -u -p -r1.40 -r1.52 --- pkgsrc/lang/python27/Makefile 2014/04/13 15:06:20 1.40 +++ pkgsrc/lang/python27/Makefile 2015/11/16 13:47:25 1.52 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.40 2014/04/13 15:06:20 bsiegert Exp $ +# $NetBSD: Makefile,v 1.52 2015/11/16 13:47:25 fhajny Exp $ .include "dist.mk" PKGNAME= python27-${PY_DISTVERSION} -PKGREVISION= 3 +PKGREVISION= 1 CATEGORIES= lang python MAINTAINER= pkgsrc-users@NetBSD.org @@ -30,7 +30,8 @@ CHECK_PORTABILITY_SKIP= Tools/faqwiz/mov USE_LANGUAGES= c c++ -PTHREAD_OPTS+= require +PTHREAD_OPTS+= require +PTHREAD_AUTO_VARS= yes .include "../../mk/pthread.buildlink3.mk" .if ${PTHREAD_TYPE} == "pth" CONFIGURE_ARGS+= --with-pth @@ -75,14 +76,16 @@ PY_PLATNAME= sunos${OS_VERSION:C/\..*//} PY_PLATNAME= hp-ux11 .elif ${OPSYS} == "Linux" PY_PLATNAME= linux2 +.elif ${OS_VARIANT} == "SCOOSR5" +PY_PLATNAME= sco_sv3 .else PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} .endif PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} -.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ - (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ - (${MACHINE_ARCH} == "powerpc64") || (defined(ABI) && ${ABI} == "64") +.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \ + (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \ + (defined(ABI) && ${ABI} == "64") IS_64BIT_PLATFORM?= yes .else IS_64BIT_PLATFORM?= no @@ -100,11 +103,6 @@ PLIST_VARS+= extra-so PLIST.extra-so= yes .endif -# Make sure python modules can link correctly -.if ${OPSYS} == "Darwin" -INSTALL_UNSTRIPPED= yes -.endif - # For Xcode 5 we need to search the SDK path for headers, otherwise certain # modules will not be built. .if ${OPSYS} == "Darwin" && exists(${OSX_SDK_PATH}/usr/include) @@ -179,6 +177,12 @@ post-install: ${DESTDIR}${PREFIX}/lib/libpython2.7.sl.1.0 .endif +.if ${OS_VARIANT} == "SCOOSR5" +# SCO OpenServer 5.0.7/3.2 has no socklen_t in system headers, but has in +# GNU pth's header. It should be used in this case. +CONFIGURE_ENV+= ac_cv_type_socklen_t=yes +.endif + BUILDLINK_DEPMETHOD.readline= build .include "../../archivers/bzip2/buildlink3.mk"