aboutsummaryrefslogtreecommitdiffstats
path: root/converters/xunicode
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-24 02:24:38 +0800
committerknu <knu@FreeBSD.org>2001-02-24 02:24:38 +0800
commit5e41eb8955ac8486dc0707cb6e8319ac912aef2e (patch)
tree437555a728167b105dee573bbb9e6573b6a11d3c /converters/xunicode
parent568a2f6ced091eafebe85692a16ee6ba0e4e372b (diff)
downloadfreebsd-ports-gnome-5e41eb8955ac8486dc0707cb6e8319ac912aef2e.tar.gz
freebsd-ports-gnome-5e41eb8955ac8486dc0707cb6e8319ac912aef2e.tar.zst
freebsd-ports-gnome-5e41eb8955ac8486dc0707cb6e8319ac912aef2e.zip
Respect CXX/CXXFLAGS.
Diffstat (limited to 'converters/xunicode')
-rw-r--r--converters/xunicode/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/xunicode/Makefile b/converters/xunicode/Makefile
index a8b8c307d167..711e72b3dc1c 100644
--- a/converters/xunicode/Makefile
+++ b/converters/xunicode/Makefile
@@ -17,7 +17,10 @@ USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- ${PERL} -i -pe 's,/usr/X11R6\b,${X11BASE},g' ${WRKSRC}/MakeInclude
+ ${PERL} -i -p \
+ -e 's,/usr/X11R6\b,${X11BASE},g;' \
+ -e 's,^CXX(FLAGS)? *=.*,,;' \
+ ${WRKSRC}/MakeInclude
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/libxunicode.a ${PREFIX}/lib/