aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-02-02 04:34:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-02-02 04:34:07 +0000
commitcd7a578d6fda97eacdb5828d7f4f824fe1a439b1 (patch)
treef98b9598a3524fa3f68b2aadbd022e2f26ac5a1a
parent707673b989db2737e8e94c673f3465da6cab6a2d (diff)
downloadports-cd7a578d6fda97eacdb5828d7f4f824fe1a439b1.tar.gz
ports-cd7a578d6fda97eacdb5828d7f4f824fe1a439b1.zip
Notes
-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