aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/osg-devel/Makefile4
-rw-r--r--graphics/osg/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index ac24e847f5a2..b7770d67828b 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -55,6 +55,10 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
dot:${PORTSDIR}/graphics/graphviz
PORTDOCS= html
+pre-patch:
+ ${REINPLACE_CMD} -e 's,[[:cntrl:]]*$$,,' \
+ ${WRKSRC}/examples/osgtesselate/osgtesselate.cpp
+
post-build:
cd ${WRKSRC}/doc/Doxyfiles && OSGHOME=${WRKSRC} doxygen all_Doxyfile
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index ac24e847f5a2..b7770d67828b 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -55,6 +55,10 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
dot:${PORTSDIR}/graphics/graphviz
PORTDOCS= html
+pre-patch:
+ ${REINPLACE_CMD} -e 's,[[:cntrl:]]*$$,,' \
+ ${WRKSRC}/examples/osgtesselate/osgtesselate.cpp
+
post-build:
cd ${WRKSRC}/doc/Doxyfiles && OSGHOME=${WRKSRC} doxygen all_Doxyfile