diff options
author | perky <perky@FreeBSD.org> | 2003-10-14 02:50:47 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-10-14 02:50:47 +0800 |
commit | dcb10af4e23c23f6b897cbaa20502853226eb0b7 (patch) | |
tree | d479a961c7b5de32ab4cdfafc14e75f42f2708c0 /security | |
parent | d6c3f920a1e29af21f6610c617ce0b5290e8eda7 (diff) | |
download | freebsd-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/Makefile | 7 |
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}) |