svn commit: r301816 - head/textproc/xmlto
Matthias Andree
mandree at FreeBSD.org
Tue Jul 31 22:07:28 UTC 2012
Author: mandree
Date: Tue Jul 31 22:07:27 2012
New Revision: 301816
URL: http://svn.freebsd.org/changeset/ports/301816
Log:
Replace GNU-make-ism in upstream Makefile by a BSD-make compatible expansion.
Not currently needed, but since I've debugged this in a different context,
save the solution for good.
Feature safe: yes
Modified:
head/textproc/xmlto/Makefile
Modified: head/textproc/xmlto/Makefile
==============================================================================
--- head/textproc/xmlto/Makefile Tue Jul 31 20:59:44 2012 (r301815)
+++ head/textproc/xmlto/Makefile Tue Jul 31 22:07:27 2012 (r301816)
@@ -63,7 +63,10 @@ CONFIGURE_ARGS+= --with-backend=dblatex
.endif
post-patch:
+ # get rid of nonstandard "type" option -t:
cd ${WRKSRC} && ${FIND} . -type f -exec ${REINPLACE_CMD} -i '' -e 's/type -t/which/;' '{}' '+'
+ # get rid of GNU-make-ism (BSD make defines $< only in suffix rules)
+ ${REINPLACE_CMD} -e '/^GEN_MANPAGE/{s/\$$</$$>/;}' ${WRKSRC}/Makefile.in
.if !defined(NOPORTDOCS)
post-install:
More information about the svn-ports-all
mailing list