aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-10-25 07:34:11 +0800
committerwxs <wxs@FreeBSD.org>2010-10-25 07:34:11 +0800
commit977e4c02a6e96c34a4ff124e869e3ea3ab234017 (patch)
tree2200e060cdede008366c9b558d81e2a80d7e3ea6 /security
parentb7d8ef2144bb1ca4daec3ea6a6aa69e5197871d0 (diff)
downloadfreebsd-ports-gnome-977e4c02a6e96c34a4ff124e869e3ea3ab234017.tar.gz
freebsd-ports-gnome-977e4c02a6e96c34a4ff124e869e3ea3ab234017.tar.zst
freebsd-ports-gnome-977e4c02a6e96c34a4ff124e869e3ea3ab234017.zip
Work around annoying, but harmless, bug with install(1) using "-b~" by changing
it to use "-b ~". While here also strip libsudo_noexec.so. Submitted by: John Hein (private mail)
Diffstat (limited to 'security')
-rw-r--r--security/sudo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index b2a2fe1bd2d7..a2928dde686a 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -109,7 +109,8 @@ MAN8= sudo.8 visudo.8 sudoreplay.8
MLINKS= sudo.8 sudoedit.8
post-patch:
- @${REINPLACE_CMD} '/install-binaries:/,/^$$/s/$$(INSTALL)/& ${STRIP}/' \
+ @${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
+ s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's/$$(DESTDIR)$$(sudoersdir) $$(DESTDIR)$$(docdir)/$$(DESTDIR)$$(sudoersdir)/' \