aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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