Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/doas security/doas: fix no-op SUBST block



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9c57a8da90a
branches:  trunk
changeset: 430143:b9c57a8da90a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Apr 28 04:40:28 2020 +0000

description:
security/doas: fix no-op SUBST block

The Makefile has changed to GNU format, using round parentheses, which
turned the substitution a no-op.

diffstat:

 security/doas/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r d2ce8649282b -r b9c57a8da90a security/doas/Makefile
--- a/security/doas/Makefile    Tue Apr 28 04:29:01 2020 +0000
+++ b/security/doas/Makefile    Tue Apr 28 04:40:28 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2020/01/01 01:30:19 ng0 Exp $
+# $NetBSD: Makefile,v 1.8 2020/04/28 04:40:28 rillig Exp $
 
 DISTNAME=      doas-6.2p4
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=slicer69/}
 
@@ -15,12 +16,7 @@
 # illumos, SmartOS, OpenIndiana.
 # Add any failing platforms as BROKEN_ON_PLATFORM.
 
-SUBST_CLASSES+=                        fix-paths
-SUBST_STAGE.fix-paths=         pre-install
-SUBST_MESSAGE.fix-paths=       Fixing paths.
-SUBST_FILES.fix-paths=         Makefile
-SUBST_SED.fix-paths+=          -e 's,$${PREFIX}/etc,${PKG_SYSCONFDIR},g'
-SUBST_SED.fix-paths+=          -e 's,/man/,/${PKGMANDIR}/,g'
+MAKE_ENV+=     MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
 
 SPECIAL_PERMS+=                bin/doas ${SETUID_ROOT_PERMS}
 



Home | Main Index | Thread Index | Old Index