Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2015 04:34:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378289 - head/graphics/osg-devel
Message-ID:  <201502020434.t124Y8xC017969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb  2 04:34:07 2015
New Revision: 378289
URL: https://svnweb.freebsd.org/changeset/ports/378289
QAT: https://qat.redports.org/buildarchive/r378289/

Log:
  - Fix build on pre-10.x

Modified:
  head/graphics/osg-devel/Makefile

Modified: head/graphics/osg-devel/Makefile
==============================================================================
--- head/graphics/osg-devel/Makefile	Mon Feb  2 02:52:03 2015	(r378288)
+++ head/graphics/osg-devel/Makefile	Mon Feb  2 04:34:07 2015	(r378289)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502020434.t124Y8xC017969>