aboutsummaryrefslogtreecommitdiffstats
path: root/devel/doxygen
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-02-22 07:43:38 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-02-22 07:43:38 +0800
commit9102c8d257d42dac1401683040a27ae8a836bdff (patch)
tree5d3cbe999310ceaa74611ef9c923318d7c27e5f4 /devel/doxygen
parent67cc2141708e5654f15dda6a63d6e3a253f8d34f (diff)
downloadfreebsd-ports-gnome-9102c8d257d42dac1401683040a27ae8a836bdff.tar.gz
freebsd-ports-gnome-9102c8d257d42dac1401683040a27ae8a836bdff.tar.zst
freebsd-ports-gnome-9102c8d257d42dac1401683040a27ae8a836bdff.zip
Respect CC/CXX
PR: 16847 Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index bbd5850ae73f..6b0912268742 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -15,10 +15,14 @@ MAINTAINER= joep@di.nl
WRKSRC= ${WRKDIR}/doxygen-0.4
-USE_QT= YES
-
-USE_PERL5= YES
+USE_QT= yes
+USE_PERL5= yes
MAKE_ARGS= freebsd-g++
+MAKE_ENV+= CC="${CC}" CXX="${CXX}"
+
+pre-configure:
+ ${PERL} -pi -e "s:gcc:${CC}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
+ ${PERL} -pi -e "s:g\+\+:\${CXX}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
do-configure:
cd ${WRKSRC}/src; \