aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlwrapp
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-19 05:12:24 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-19 05:12:24 +0000
commit02b8d9224c109cade69c5dae6acaf9403bab8268 (patch)
treecef1fd891f5cca8ee03c85074f6c56038944d8fa /textproc/xmlwrapp
parentd3dff1bb42070b53108dfbf847d511b5e40f2fa8 (diff)
downloadports-02b8d9224c109cade69c5dae6acaf9403bab8268.tar.gz
ports-02b8d9224c109cade69c5dae6acaf9403bab8268.zip
Notes
Diffstat (limited to 'textproc/xmlwrapp')
-rw-r--r--textproc/xmlwrapp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/xmlwrapp/Makefile b/textproc/xmlwrapp/Makefile
index a98382d411c1..ae4ba85821eb 100644
--- a/textproc/xmlwrapp/Makefile
+++ b/textproc/xmlwrapp/Makefile
@@ -33,7 +33,8 @@ CONFIGURE_ARGS+= --disable-xslt
.endif
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/configure.pl
+ ${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure.pl
+ ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/tools/mkmf
# Fix for GCC 4.2
@${REINPLACE_CMD} -e 's,^std::ostream,namespace xml { &,' \
-e '/^namespace/s,xml::,,g' -e '$$s,^,} ,' \