summaryrefslogtreecommitdiffstats
path: root/devel/doxygen
diff options
context:
space:
mode:
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 bbd5850..6b09122 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; \
OpenPOWER on IntegriCloud