summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:04:25 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:04:25 +0000
commit7ddda1feb69412a9659bf62a3b49ff271d423021 (patch)
treea281601135373c17630219dda9097d6e09e0b810 /security
parent039c4bd7a678d1379b928bf7a60812785f128b0b (diff)
downloadpkgsrc-7ddda1feb69412a9659bf62a3b49ff271d423021.tar.gz
Lower the minimum required OpenSSL version to 0.9.7 for MirBSD.
The MirBSD version contains fixes so the comment in Makefile.PL does not apply.
Diffstat (limited to 'security')
-rw-r--r--security/p5-IO-Socket-SSL/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/p5-IO-Socket-SSL/Makefile b/security/p5-IO-Socket-SSL/Makefile
index 6c0f4cea0a1..4d3d3bef58e 100644
--- a/security/p5-IO-Socket-SSL/Makefile
+++ b/security/p5-IO-Socket-SSL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2013/09/05 19:39:04 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2014/01/01 16:04:25 bsiegert Exp $
DISTNAME= IO-Socket-SSL-1.953
PKGNAME= p5-${DISTNAME}
@@ -20,5 +20,14 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/IO/Socket/SSL/.packlist
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "MirBSD"
+SUBST_CLASSES+= openssl
+SUBST_STAGE.openssl= pre-configure
+SUBST_MESSAGE.openssl= Adapting minimum OpenSSL version.
+SUBST_FILES.openssl= Makefile.PL
+SUBST_SED.openssl= -e 's/openssl < 0x00908000/openssl < 0x00907000/'
+.endif
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"