summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-04-28 04:40:28 +0000
committerrillig <rillig@pkgsrc.org>2020-04-28 04:40:28 +0000
commitca2aeb4ac7be9e91ecbce07956e4e859e0a25cf7 (patch)
tree107dcd6da4f1fd852944a3d3e929cb533bbda09d /security
parent2aba8ddf0aba3156181bb5c7a88bf5fc34095959 (diff)
downloadpkgsrc-ca2aeb4ac7be9e91ecbce07956e4e859e0a25cf7.tar.gz
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 (limited to 'security')
-rw-r--r--security/doas/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/security/doas/Makefile b/security/doas/Makefile
index f98d97d0fd3..46cb001d250 100644
--- a/security/doas/Makefile
+++ b/security/doas/Makefile
@@ -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 @@ USE_TOOLS+= gmake yacc
# 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}