aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-08-22 20:32:26 +0800
committerwxs <wxs@FreeBSD.org>2010-08-22 20:32:26 +0800
commita11ec67916f42a6469db4741506c880109bc9691 (patch)
tree205401c169e0a102cd6285c2a9e110f3bf1ecf6b /security/sudo
parente973e5dd7f2024f1328baeaae9ef5ca3673ebf1a (diff)
downloadfreebsd-ports-gnome-a11ec67916f42a6469db4741506c880109bc9691.tar.gz
freebsd-ports-gnome-a11ec67916f42a6469db4741506c880109bc9691.tar.zst
freebsd-ports-gnome-a11ec67916f42a6469db4741506c880109bc9691.zip
Strip the binaries by default. No need to bump PORTREVISION for such a
minor change. PR: ports/149135 Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index e1d24601fbf7..2d37cbf66fb3 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -85,6 +85,8 @@ MAN8= sudo.8 visudo.8 sudoreplay.8
MLINKS= sudo.8 sudoedit.8
post-patch:
+ @${REINPLACE_CMD} '/install-binaries:/,/^$$/s/$$(INSTALL)/& ${STRIP}/' \
+ ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's/$$(DESTDIR)$$(sudoersdir) $$(DESTDIR)$$(docdir)/$$(DESTDIR)$$(sudoersdir)/' \
${WRKSRC}/Makefile.in