- Fix post-patch target

Reported by:	bapt
This commit is contained in:
Pietro Cerutti 2013-03-14 17:18:04 +00:00
parent 6dd86cfe25
commit ad0f44d5a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314172

View File

@ -50,12 +50,13 @@ MAN1= e16.1
CONFIGURE_ARGS+=--enable-docs=yes
.else
CONFIGURE_ARGS+=--enable-docs=no
post-patch:
${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif
post-patch:
.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif
${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \
${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in