aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libmcrypt/Makefile10
-rw-r--r--security/libmcrypt/distinfo2
-rw-r--r--www/mod_php3/scripts/configure.php2
3 files changed, 11 insertions, 3 deletions
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 720a646de071..644f54104775 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libmcrypt
-PORTVERSION= 2.5.2
+PORTVERSION= 2.5.3
CATEGORIES= security
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/ \
ftp://ftp.ntua.gr/pub/security/mcrypt/libmcrypt/
@@ -26,6 +26,10 @@ INSTALLS_SHLIB= yes
MAN3= mcrypt.3
+post-extract:
+# so we need not audit the configure scripts
+ ${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'
@@ -33,4 +37,8 @@ pre-patch:
post-patch:
@cd ${WRKSRC}/libltdl && ${LOCALBASE}/bin/autoconf
+pre-configure:
+# because we removed the configure scripts
+ cd ${WRKSRC} && autoconf
+
.include <bsd.port.mk>
diff --git a/security/libmcrypt/distinfo b/security/libmcrypt/distinfo
index aace3bc53133..b0a45bb1e9da 100644
--- a/security/libmcrypt/distinfo
+++ b/security/libmcrypt/distinfo
@@ -1 +1 @@
-MD5 (libmcrypt-2.5.2.tar.gz) = 735681115a5e6745dcfc5679fea125a3
+MD5 (libmcrypt-2.5.3.tar.gz) = 9ee42ac7c7b6c0b418746604c1f06c30
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index 26578008c537..9bf42f8408ef 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -78,7 +78,7 @@ while [ "$1" ]; do
echo "mcrypt support doesn't compile at the moment. Ignoring." > /dev/stderr
;;
\"nothing\")
- echo "LIB_DEPENDS+= mcrypt.6:\${PORTSDIR}/security/libmcrypt"
+ echo "LIB_DEPENDS+= mcrypt.7:\${PORTSDIR}/security/libmcrypt"
echo "CONFIGURE_ARGS+=--with-mcrypt=\${PREFIX}"
;;
\"mhash\")