From e1ec991f57fd3278f2b55e57a0c1bfb508c0670e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 31 Jul 2012 22:07:27 +0000 Subject: 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 --- textproc/xmlto/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'textproc') 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: -- cgit v1.2.3