svn commit: r408310 - head/textproc/xmlto

Antoine Brodin antoine at FreeBSD.org
Sat Feb 6 18:51:03 UTC 2016


Author: antoine
Date: Sat Feb  6 18:51:01 2016
New Revision: 408310
URL: https://svnweb.freebsd.org/changeset/ports/408310

Log:
  In post-patch, only touch files that need to be, otherwise some autotools
  may be needed (for instance if configure.in is touched after configure)
  
  Reported by:	pkg-fallout

Modified:
  head/textproc/xmlto/Makefile

Modified: head/textproc/xmlto/Makefile
==============================================================================
--- head/textproc/xmlto/Makefile	Sat Feb  6 18:38:01 2016	(r408309)
+++ head/textproc/xmlto/Makefile	Sat Feb  6 18:51:01 2016	(r408310)
@@ -73,7 +73,12 @@ CONFIGURE_ARGS+=	--with-backend=dblatex
 
 post-patch:
 	@# get rid of nonstandard "type" option -t:
-	cd ${WRKSRC} && ${FIND} . -type f -exec ${REINPLACE_CMD} -i '' -e 's/type -t/which/;' '{}' '+'
+	${SED} -i '' -e 's/type -t/which/;' \
+		${WRKSRC}/format/docbook/epub \
+		${WRKSRC}/format/docbook/txt \
+		${WRKSRC}/format/fo/dvi \
+		${WRKSRC}/format/fo/pdf \
+		${WRKSRC}/format/xhtml1/txt
 	@# get rid of GNU-make-ism (BSD make defines $< only in suffix rules)
 	${REINPLACE_CMD} -e '/^GEN_MANPAGE/{s/\$$</$$>/;}' ${WRKSRC}/Makefile.in
 


More information about the svn-ports-all mailing list