aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlto
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2012-07-31 22:07:27 +0000
committerMatthias Andree <mandree@FreeBSD.org>2012-07-31 22:07:27 +0000
commite1ec991f57fd3278f2b55e57a0c1bfb508c0670e (patch)
tree3b0e4d069c488d1bed04b02ffc389c2b8a7c6ae9 /textproc/xmlto
parentd6760b9d5a97afd08395cc8e6881109941b60431 (diff)
downloadports-e1ec991f57fd3278f2b55e57a0c1bfb508c0670e.tar.gz
ports-e1ec991f57fd3278f2b55e57a0c1bfb508c0670e.zip
Notes
Diffstat (limited to 'textproc/xmlto')
-rw-r--r--textproc/xmlto/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile
index 934e265c2942..165b846bb0b4 100644
--- a/textproc/xmlto/Makefile
+++ b/textproc/xmlto/Makefile
@@ -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: