aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2017-01-15 20:18:14 +0800
committerdanilo <danilo@FreeBSD.org>2017-01-15 20:18:14 +0800
commit2907f8bc0411d4b98eb030667c0f063a8e79fc34 (patch)
tree8fd64d45788b6cabcdaa8c207dd42e586e5f6b4f
parent21552ef69d1dcf74364b00617c29297c7a912f26 (diff)
downloadfreebsd-ports-gnome-2907f8bc0411d4b98eb030667c0f063a8e79fc34.tar.gz
freebsd-ports-gnome-2907f8bc0411d4b98eb030667c0f063a8e79fc34.tar.zst
freebsd-ports-gnome-2907f8bc0411d4b98eb030667c0f063a8e79fc34.zip
- Fix the string substitution in the post-patch section
Reported by: Herbert J. Skuhra <herbert@mailbox.org>
-rw-r--r--x11/sakura/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11/sakura/Makefile b/x11/sakura/Makefile
index 89691f7b73f5..ba7d0a2e0358 100644
--- a/x11/sakura/Makefile
+++ b/x11/sakura/Makefile
@@ -21,10 +21,9 @@ USES= cmake pkgconfig gettext tar:bzip2
LDFLAGS+= -lintl
post-patch:
- @${REINPLACE_CMD} -e '/NOT MATCHES "Debug"/d ; \
- /"-O2"/d ; \
- 's,share/man,man,g' ; \
- /FILES INSTALL/d' ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e 's,share/man,man,g ; \
+ /-O2/d ; \
+ /FILES INSTALL/d' ${WRKSRC}/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}