diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-06-19 13:12:24 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-06-19 13:12:24 +0800 |
commit | 99e7ec1e44dbff35c2f56d36443c067d48691c1a (patch) | |
tree | d3719dffa255835fc0b1f53acc99960eae1aa173 /textproc/xmlwrapp | |
parent | c4efac173f4787b491e35459337eb3a6ad294999 (diff) | |
download | freebsd-ports-gnome-99e7ec1e44dbff35c2f56d36443c067d48691c1a.tar.gz freebsd-ports-gnome-99e7ec1e44dbff35c2f56d36443c067d48691c1a.tar.zst freebsd-ports-gnome-99e7ec1e44dbff35c2f56d36443c067d48691c1a.zip |
- Fix build with custom LOCALBASE/PREFIX
Reported by: QATty
Diffstat (limited to 'textproc/xmlwrapp')
-rw-r--r-- | textproc/xmlwrapp/Makefile | 3 |
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,^,} ,' \ |