1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

- Fix the string substitution in the post-patch section

Reported by:	Herbert J. Skuhra <herbert@mailbox.org>
This commit is contained in:
Danilo Egea Gondolfo 2017-01-15 12:18:14 +00:00
parent e09269fa0d
commit 7d56caedd6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431552

View File

@ -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}