summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-06-10 21:16:35 +0000
committerjmmv <jmmv@pkgsrc.org>2004-06-10 21:16:35 +0000
commitf8063b9ea91f14df216323e75c67b584e032e208 (patch)
tree2f410768c13b7bed047b92a66ed4d2c3f93b0b37 /security
parent116b48f58cbdb9f5b6056347d9ddcdd250348f3d (diff)
downloadpkgsrc-f8063b9ea91f14df216323e75c67b584e032e208.tar.gz
Convert to subst.mk.
Diffstat (limited to 'security')
-rw-r--r--security/p5-SSLeay/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/p5-SSLeay/Makefile b/security/p5-SSLeay/Makefile
index b5c221e6bd4..421130c5552 100644
--- a/security/p5-SSLeay/Makefile
+++ b/security/p5-SSLeay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/06/10 21:11:08 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2004/06/10 21:16:35 jmmv Exp $
#
DISTNAME= Crypt-SSLeay-0.51
@@ -16,9 +16,11 @@ DEPENDS+= p5-libwww>=5.48:../../www/p5-libwww
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/SSLeay/.packlist
-post-patch:
- @cd ${WRKSRC} && ${SED} "s|%%SSLBASE%%|${BUILDLINK_PREFIX.openssl}|" Makefile.PL \
- > Makefile.PL.tmp && ${MV} Makefile.PL.tmp Makefile.PL
+SUBST_CLASSES+= openssl
+SUBST_STAGE.openssl= pre-configure
+SUBST_MESSAGE.openssl= "Fixing path to OpenSSL."
+SUBST_FILES.openssl= Makefile.PL
+SUBST_SED.openssl= -e 's|%%SSLBASE%%|${BUILDLINK_PREFIX.openssl}|g'
.include "../../lang/perl5/module.mk"
.include "../../security/openssl/buildlink3.mk"