diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2012-07-22 09:45:24 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2012-07-22 09:45:24 +0000 |
commit | a9682d1571df9ae18c52e5a02778acad34600c03 (patch) | |
tree | 265af112e1fadc3a264bb2971fb018cbcd6b5030 /lang/python27 | |
parent | 3e613ab15315db6dab7707a4622611262b39258d (diff) | |
download | ports-a9682d1571df9ae18c52e5a02778acad34600c03.tar.gz ports-a9682d1571df9ae18c52e5a02778acad34600c03.zip |
Notes
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index dbff4c2e1243..6e865062b4ab 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -7,7 +7,7 @@ PORTNAME= python27 PORTVERSION= 2.7.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -21,7 +21,7 @@ WRKSRC= ${PYTHON_WRKSRC}/portbld.static PATCH_WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative -CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd" +CONFIGURE_ENV= SVNVERSION="echo freebsd" MAKE_ENV= VPATH="${PYTHON_WRKSRC}" USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes @@ -157,6 +157,9 @@ CONFIGURE_ARGS+= --disable-ipv6 CONFIGURE_ARGS+= --with-fpectl .endif + +CONFIGURE_ENV+= OPT="${CFLAGS} ${_PTH_CPPFLAGS}" + post-extract: # The distribution tarball for python 2.7 has permission bits for 'others' # set to 0. Later during install, we copy Tools and Demo to the installed @@ -191,8 +194,10 @@ pre-patch: ${PATCH_WRKSRC}/Makefile.pre.in ${SED} -e 's|^#!.*|#!${PREFIX}/bin/${PYTHON_VERSION}|' \ + -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' \ ${PATCH_WRKSRC}/Misc/python-config.in > ${WRKDIR}/${PYTHON_VERSION}-config ${SED} -e 's|^#!.*|#!${PREFIX}/bin/${PYTHON_VERSION:S/thon/thon-shared/}|' \ + -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' \ ${PATCH_WRKSRC}/Misc/python-config.in > ${WRKDIR}/${PYTHON_VERSION:S/thon/thon-shared/}-config .if ${PORT_OPTIONS:MFPECTL) && ${ARCH} == i386 |