diff options
-rw-r--r-- | textproc/xmlto/Makefile | 3 |
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: |