diff options
author | Steve Wills <swills@FreeBSD.org> | 2021-03-13 06:37:18 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2021-03-13 06:37:18 +0000 |
commit | 3c244f268d8eb9a8fef06e85bad5252e909136d6 (patch) | |
tree | 644cf3113c87bdb9df2b36afc6ff59bd6527990f /security | |
parent | e05afdc3520acb140ea36b933c209f4951e06497 (diff) | |
download | ports-3c244f268d8eb9a8fef06e85bad5252e909136d6.tar.gz ports-3c244f268d8eb9a8fef06e85bad5252e909136d6.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/please/Makefile | 3 | ||||
-rw-r--r-- | security/please/files/patch-Makefile | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/security/please/Makefile b/security/please/Makefile index 92d61416629c..3189763e8aa5 100644 --- a/security/please/Makefile +++ b/security/please/Makefile @@ -17,9 +17,6 @@ GH_ACCOUNT= MagikBSD PLIST_FILES= "@(,,4555) bin/please" "@sample etc/pam.d/please.sample" \ man/man1/please.1.gz -post-patch: - @${REINPLACE_CMD} -e "s,-m 4555,-m 0555,g" ${WRKSRC}/Makefile - post-install: ${CP} ${WRKSRC}/pam.d/please.BSD \ ${STAGEDIR}${PREFIX}/etc/pam.d/please.sample diff --git a/security/please/files/patch-Makefile b/security/please/files/patch-Makefile new file mode 100644 index 000000000000..a6e44b548645 --- /dev/null +++ b/security/please/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2021-02-26 22:51:55 UTC ++++ Makefile +@@ -24,7 +24,7 @@ ${BIN}.1: ${BIN}.rst + + install: all + install -d ${DESTDIR}${PREFIX}/bin +- install -m 4555 -s ${BIN} ${DESTDIR}${PREFIX}/bin ++ install -m 0555 -s ${BIN} ${DESTDIR}${PREFIX}/bin + install -d ${DESTDIR}${PREFIX}/man/man1 + install -m 0444 ${BIN}.1.gz ${DESTDIR}${PREFIX}/man/man1 + |