pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mozilla-rootcerts-openssl mozilla-rootcerts-o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/052b1c292d96
branches:  trunk
changeset: 768446:052b1c292d96
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Oct 22 16:56:39 2021 +0000

description:
mozilla-rootcerts-openssl: Generate replaced PLIST automatically

diffstat:

 security/mozilla-rootcerts-openssl/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 8e7657795539 -r 052b1c292d96 security/mozilla-rootcerts-openssl/Makefile
--- a/security/mozilla-rootcerts-openssl/Makefile       Fri Oct 22 15:14:45 2021 +0000
+++ b/security/mozilla-rootcerts-openssl/Makefile       Fri Oct 22 16:56:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2021/10/14 12:42:43 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2021/10/22 16:56:39 ryoon Exp $
 
 PKGNAME=       mozilla-rootcerts-openssl-2.7
 CATEGORIES=    security
@@ -33,12 +33,14 @@
 PLACE=                 /etc
 SET_PREFIX=            yes
 PLIST_SUBST+=          MYETCDIR=etc
+PRINT_PLIST_AWK+=      { sub("^etc/", "$${MYETCDIR}/"); }
 CHECK_FILES_SUPPORTED= no
 .else
 PLACE=                 ${MY_PKG_SYSCONFDIR}
 # probably SET_PREFIX should not be set
 SET_PREFIX=            yes
 PLIST_SUBST+=          MYETCDIR=${MY_PKG_SYSCONFDIR:S/^${PREFIX}//}
+PRINT_PLIST_AWK+=      { sub("^${MY_PKG_SYSCONFDIR:S/^${PREFIX}//}/", "$${MYETCDIR}/"); }
 .endif
 
 OPENSSLDIR=            ${PLACE}/openssl/certs



Home | Main Index | Thread Index | Old Index