svn commit: r314172 - head/x11-wm/e16
Pietro Cerutti
gahr at FreeBSD.org
Thu Mar 14 17:18:05 UTC 2013
Author: gahr
Date: Thu Mar 14 17:18:04 2013
New Revision: 314172
URL: http://svnweb.freebsd.org/changeset/ports/314172
Log:
- Fix post-patch target
Reported by: bapt
Modified:
head/x11-wm/e16/Makefile
Modified: head/x11-wm/e16/Makefile
==============================================================================
--- head/x11-wm/e16/Makefile Thu Mar 14 17:04:32 2013 (r314171)
+++ head/x11-wm/e16/Makefile Thu Mar 14 17:18:04 2013 (r314172)
@@ -50,12 +50,13 @@ MAN1= e16.1
CONFIGURE_ARGS+=--enable-docs=yes
.else
CONFIGURE_ARGS+=--enable-docs=no
+.endif
+
post-patch:
+.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif
-
-post-patch:
${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \
${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in
More information about the svn-ports-all
mailing list