aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2012-08-01 06:07:27 +0800
committermandree <mandree@FreeBSD.org>2012-08-01 06:07:27 +0800
commit537e5f02226a67407db70fd4b068d11be839c821 (patch)
tree3b0e4d069c488d1bed04b02ffc389c2b8a7c6ae9 /textproc
parent91d3aeba94c6a6713a98bf0cd61bc01e1379b026 (diff)
downloadfreebsd-ports-gnome-537e5f02226a67407db70fd4b068d11be839c821.tar.gz
freebsd-ports-gnome-537e5f02226a67407db70fd4b068d11be839c821.tar.zst
freebsd-ports-gnome-537e5f02226a67407db70fd4b068d11be839c821.zip
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
Diffstat (limited to 'textproc')
-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: