1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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)
This commit is contained in:
Wesley Shields 2010-10-24 23:34:11 +00:00
parent b56fdc2767
commit ff00de647f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263543

View File

@ -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)/' \