aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-10-14 02:50:47 +0800
committerperky <perky@FreeBSD.org>2003-10-14 02:50:47 +0800
commitdcb10af4e23c23f6b897cbaa20502853226eb0b7 (patch)
treed479a961c7b5de32ab4cdfafc14e75f42f2708c0 /security
parentd6c3f920a1e29af21f6610c617ce0b5290e8eda7 (diff)
downloadfreebsd-ports-gnome-dcb10af4e23c23f6b897cbaa20502853226eb0b7.tar.gz
freebsd-ports-gnome-dcb10af4e23c23f6b897cbaa20502853226eb0b7.tar.zst
freebsd-ports-gnome-dcb10af4e23c23f6b897cbaa20502853226eb0b7.zip
Fix build for gcc 3.3.
Spotted by: kris
Diffstat (limited to 'security')
-rw-r--r--security/py-mcrypt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/py-mcrypt/Makefile b/security/py-mcrypt/Makefile
index 21fe43d8be14..267d83b26d3d 100644
--- a/security/py-mcrypt/Makefile
+++ b/security/py-mcrypt/Makefile
@@ -20,10 +20,15 @@ COMMENT= A comprehensive Python interface to the mcrypt library
LIB_DEPENDS= mcrypt:${PORTSDIR}/security/libmcrypt
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS=yes
+USE_REINPLACE= yes
PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
+pre-patch:
+ # put a missed terminating quote
+ ${REINPLACE_CMD} -e '1136s,$$,\\,g' -e '1678s,$$,\\,g' ${WRKSRC}/mcrypt.c
+
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})