pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p5-SSLeay Convert to subst.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b982d851422
branches:  trunk
changeset: 476458:4b982d851422
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Jun 10 21:16:35 2004 +0000

description:
Convert to subst.mk.

diffstat:

 security/p5-SSLeay/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 19915d2dad74 -r 4b982d851422 security/p5-SSLeay/Makefile
--- a/security/p5-SSLeay/Makefile       Thu Jun 10 21:11:08 2004 +0000
+++ b/security/p5-SSLeay/Makefile       Thu Jun 10 21:16:35 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index