summaryrefslogtreecommitdiff
path: root/security/libmcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/libmcrypt/Makefile')
-rw-r--r--security/libmcrypt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 644f54104775..fedb83b6317d 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool
RESTRICTED= "yes - cryptography"
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -31,8 +32,8 @@ post-extract:
${FIND} ${WRKSRC} -name configure -exec ${RM} -f \{\} \;
pre-patch:
- @${FIND} ${WRKSRC}/modules -name '*.[ch]' | ${XARGS} ${PERL} -pi -e \
- 's|#ifdef USE_LTDL|#if defined\(USE_LTDL\) && !defined\(__FreeBSD__\)|g'
+ @${FIND} ${WRKSRC}/modules -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|#ifdef USE_LTDL|#if defined(USE_LTDL) && !defined(__FreeBSD__)|g'
post-patch:
@cd ${WRKSRC}/libltdl && ${LOCALBASE}/bin/autoconf