aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/osg-devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-02-02 12:34:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-02-02 12:34:07 +0800
commit972a60a7896aa549e917258f1650509ac5bacb6f (patch)
treef98b9598a3524fa3f68b2aadbd022e2f26ac5a1a /graphics/osg-devel
parent07705e4928ba4707c4279b1bcdc2d4a619e1f915 (diff)
downloadfreebsd-ports-gnome-972a60a7896aa549e917258f1650509ac5bacb6f.tar.gz
freebsd-ports-gnome-972a60a7896aa549e917258f1650509ac5bacb6f.tar.zst
freebsd-ports-gnome-972a60a7896aa549e917258f1650509ac5bacb6f.zip
- Fix build on pre-10.x
Diffstat (limited to 'graphics/osg-devel')
-rw-r--r--graphics/osg-devel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index d010395ab42a..8f7d3f7633f3 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -210,8 +210,8 @@ USE_XORG+= xrandr
post-patch:
@${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g'
- @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \
- ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \
+ s|-pedantic||' ${WRKSRC}/CMakeLists.txt
.for p in ${FORCE_REQUIRE}
@${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \
${WRKSRC}/CMakeLists.txt