[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / python27

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/lang/python27/Makefile between version 1.73 and 1.74

version 1.73, 2017/11/22 19:16:20 version 1.74, 2018/06/17 19:21:21
Line 3 
Line 3 
 .include "dist.mk"  .include "dist.mk"
   
 PKGNAME=        python27-${PY_DISTVERSION}  PKGNAME=        python27-${PY_DISTVERSION}
   PKGREVISION=    1
 CATEGORIES=     lang python  CATEGORIES=     lang python
   
 MAINTAINER=     pkgsrc-users@NetBSD.org  MAINTAINER=     pkgsrc-users@NetBSD.org
Line 14  DEPENDS= mozilla-rootcerts>=1.0.20150804
Line 15  DEPENDS= mozilla-rootcerts>=1.0.20150804
   
 CONFLICTS+=     python-[0-9]*  CONFLICTS+=     python-[0-9]*
   
   USE_LANGUAGES=          c c++
 GNU_CONFIGURE=          yes  GNU_CONFIGURE=          yes
 CONFIGURE_ARGS+=        --with-threads  
 CONFIGURE_ARGS+=        --enable-shared  CONFIGURE_ARGS+=        --enable-shared
 CONFIGURE_ARGS+=        OPT=${CFLAGS:Q}  
 CONFIGURE_ARGS+=        --with-system-ffi  
 CONFIGURE_ARGS+=        --with-dbmliborder=ndbm:bdb  CONFIGURE_ARGS+=        --with-dbmliborder=ndbm:bdb
   CONFIGURE_ARGS+=        --with-system-ffi
   CONFIGURE_ARGS+=        --with-threads
 CONFIGURE_ENV+=         MKDIR_P=${MKDIR:Q}  CONFIGURE_ENV+=         MKDIR_P=${MKDIR:Q}
   CONFIGURE_ENV+=         OPT=${CFLAGS:Q}
 PKGCONFIG_OVERRIDE+=    Misc/python.pc.in  PKGCONFIG_OVERRIDE+=    Misc/python.pc.in
   
 LDFLAGS+=               -L${WRKSRC}  LDFLAGS+=               -L${WRKSRC}
Line 29  LDFLAGS+=  -L${WRKSRC}
Line 30  LDFLAGS+=  -L${WRKSRC}
 # $RANDOM usage there is fine  # $RANDOM usage there is fine
 CHECK_PORTABILITY_SKIP= Tools/faqwiz/move-faqwiz.sh  CHECK_PORTABILITY_SKIP= Tools/faqwiz/move-faqwiz.sh
   
 USE_LANGUAGES=          c c++  
   
 PTHREAD_OPTS+=          require  PTHREAD_OPTS+=          require
 PTHREAD_AUTO_VARS=      yes  PTHREAD_AUTO_VARS=      yes
 .include "../../mk/pthread.buildlink3.mk"  .include "../../mk/pthread.buildlink3.mk"
Line 52  LIBS.SunOS+=  -lrt
Line 51  LIBS.SunOS+=  -lrt
   
 PY_VER_SUFFIX=          2.7  PY_VER_SUFFIX=          2.7
   
 PLIST_SRC=      ${.CURDIR}/../../lang/python27/PLIST.common  
 .if exists(${.CURDIR}/../../lang/python27/PLIST.${OPSYS})  
 PLIST_SRC+=     ${.CURDIR}/../../lang/python27/PLIST.${OPSYS}  
 .endif  
 PLIST_SRC+=     ${.CURDIR}/../../lang/python27/PLIST.common_end  
   
 .if ${OPSYS} == "NetBSD"  .if ${OPSYS} == "NetBSD"
 # 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
Line 103  PLIST.extra-so= yes
Line 96  PLIST.extra-so= yes
 # For Xcode 5 we need to search the SDK path for headers, otherwise certain  # For Xcode 5 we need to search the SDK path for headers, otherwise certain
 # modules will not be built.  # modules will not be built.
 .if ${OPSYS} == "Darwin" && exists(${OSX_SDK_PATH}/usr/include)  .if ${OPSYS} == "Darwin" && exists(${OSX_SDK_PATH}/usr/include)
 CFLAGS+=                -I${OSX_SDK_PATH}/usr/include  CFLAGS+=                -I${OSX_SDK_PATH:Q}/usr/include
 .endif  .endif
   
 PLIST_VARS+=    dll nis no-nis  PLIST_VARS+=    dll nis no-nis
Line 135  INSTALL_TARGET= altinstall
Line 128  INSTALL_TARGET= altinstall
 REPLACE_INTERPRETER+=   py27  REPLACE_INTERPRETER+=   py27
 REPLACE.py27.old=       .*python[^ ]*  REPLACE.py27.old=       .*python[^ ]*
 REPLACE.py27.new=       ${PREFIX}/bin/python${PY_VER_SUFFIX}  REPLACE.py27.new=       ${PREFIX}/bin/python${PY_VER_SUFFIX}
 REPLACE_FILES.py27=     Lib/*.py Lib/*/*.py Lib/*/*/*.py  REPLACE_FILES.py27=     Lib/UserString.py
 REPLACE_FILES.py27+=    Lib/*/*/*/*.py  REPLACE_FILES.py27+=    Lib/base64.py
   REPLACE_FILES.py27+=    Lib/cProfile.py
   REPLACE_FILES.py27+=    Lib/cgi.py
   REPLACE_FILES.py27+=    Lib/encodings/rot_13.py
   REPLACE_FILES.py27+=    Lib/idlelib/PyShell.py
   REPLACE_FILES.py27+=    Lib/keyword.py
   REPLACE_FILES.py27+=    Lib/lib2to3/pgen2/token.py
   REPLACE_FILES.py27+=    Lib/lib2to3/tests/data/different_encoding.py
   REPLACE_FILES.py27+=    Lib/lib2to3/tests/data/false_encoding.py
   REPLACE_FILES.py27+=    Lib/lib2to3/tests/pytree_idempotency.py
   REPLACE_FILES.py27+=    Lib/mimify.py
   REPLACE_FILES.py27+=    Lib/pdb.py
   REPLACE_FILES.py27+=    Lib/plat-mac/appletrunner.py
   REPLACE_FILES.py27+=    Lib/plat-mac/bundlebuilder.py
   REPLACE_FILES.py27+=    Lib/platform.py
   REPLACE_FILES.py27+=    Lib/profile.py
   REPLACE_FILES.py27+=    Lib/pydoc.py
   REPLACE_FILES.py27+=    Lib/quopri.py
   REPLACE_FILES.py27+=    Lib/smtpd.py
   REPLACE_FILES.py27+=    Lib/smtplib.py
   REPLACE_FILES.py27+=    Lib/symbol.py
   REPLACE_FILES.py27+=    Lib/tabnanny.py
   REPLACE_FILES.py27+=    Lib/test/bisect.py
   REPLACE_FILES.py27+=    Lib/test/curses_tests.py
   REPLACE_FILES.py27+=    Lib/test/re_tests.py
   REPLACE_FILES.py27+=    Lib/test/pystone.py
   REPLACE_FILES.py27+=    Lib/test/regrtest.py
   REPLACE_FILES.py27+=    Lib/timeit.py
   REPLACE_FILES.py27+=    Lib/trace.py
   REPLACE_FILES.py27+=    Lib/uu.py
   REPLACE_FILES.py27+=    Lib/webbrowser.py
   
 SUBST_CLASSES+=         libffi  SUBST_CLASSES+=         libffi
 SUBST_MESSAGE.libffi=   Fixing libffi include path on Darwin.  SUBST_MESSAGE.libffi=   Fixing libffi include path on Darwin.
Line 155  SUBST_SED.findlib= -e 's,/usr/local,${PR
Line 178  SUBST_SED.findlib= -e 's,/usr/local,${PR
 # >>> from ctypes.util import find_library  # >>> from ctypes.util import find_library
 # >>> find_library("m")  # >>> find_library("m")
 # 'libm.so.0'  # 'libm.so.0'
 # >>> find_library("crypto")  
 # 'libcrypto.so.11'  
 # >>> find_library("GL")  
 # 'libGL.so.2'  
 # >>> find_library("curl")  
 # 'libcurl.so.4'  
   
 SUBST_CLASSES+=         pfindlib  SUBST_CLASSES+=         pfindlib
 SUBST_MESSAGE.pfindlib= Fixing find_library() on POSIX-like (excluding Darwin) systems.  SUBST_MESSAGE.pfindlib= Fixing find_library() on POSIX-like (excluding Darwin) systems.

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

CVSweb <webmaster@jp.NetBSD.org>