- Replace pre-configure target with WITH_FBSD10_FIX as we have a fix in

bsd.port.mk now.

Approved by:	miwi
This commit is contained in:
Beat Gaetzi 2011-10-27 15:22:09 +00:00
parent 9b48f272d8
commit 2fbda21282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284453

View File

@ -24,6 +24,7 @@ CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
WITH_FBSD10_FIX= yes
INSTALL_TARGET= altinstall
MAN1= ${PYTHON_VERSION}.1
@ -195,14 +196,6 @@ post-patch:
${PATCH_WRKSRC}/setup.py
.endif
pre-configure:
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
-e 's|freebsd2\*)|freebsd2\.\*)|' \
-e 's|freebsd\[123\]\*)|freebsd\[123\]\.\*)|' \
-e 's|freebsd\[\[123\]\]\*)|freebsd\[\[123\]\]\.\*)|' \
${PATCH_WRKSRC}/Modules/_ctypes/libffi/m4/libtool.m4 \
${PATCH_WRKSRC}/Modules/_ctypes/libffi/configure
post-configure:
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -
${LN} -sf ${PYTHON_WRKSRC}/Lib ${WRKSRC}/Lib