Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2016 18:51:01 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408310 - head/textproc/xmlto
Message-ID:  <201602061851.u16Ip1ud040038@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602061851.u16Ip1ud040038>