Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2019 18:01:51 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500869 - head/x11-toolkits/wxgtk28
Message-ID:  <201905051801.x45I1pxR007156@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun May  5 18:01:51 2019
New Revision: 500869
URL: https://svnweb.freebsd.org/changeset/ports/500869

Log:
  x11-toolkits/wxgtk28: fix build of dependent ports on GCC architectures
  
  Add USES=compiler:c++11-lang to fix compilation of games/scummvm-tools.
  
  Also add, USES=gl localbase.
  
  PR:		237225
  Approved by:	linimon (mentor)

Modified:
  head/x11-toolkits/wxgtk28/Makefile

Modified: head/x11-toolkits/wxgtk28/Makefile
==============================================================================
--- head/x11-toolkits/wxgtk28/Makefile	Sun May  5 18:00:13 2019	(r500868)
+++ head/x11-toolkits/wxgtk28/Makefile	Sun May  5 18:01:51 2019	(r500869)
@@ -16,7 +16,8 @@ LIB_DEPENDS+=	libpng.so:graphics/png\
 		libtiff.so:graphics/tiff\
 		libexpat.so:textproc/expat2
 
-USES=		compiler gmake iconv jpeg pkgconfig tar:bzip2
+USES=		compiler:c++11-lang gl gmake iconv jpeg localbase pkgconfig \
+		tar:bzip2
 USE_CXXSTD=	gnu++98
 USE_XORG=	x11 sm xxf86vm xinerama
 USE_GL=		glu
@@ -34,8 +35,6 @@ CONFIGURE_ARGS=	--with-libpng=sys\
 		--disable-backtrace\
 		--enable-graphics_ctx
 CONFIGURE_ENV=	X11BASE="${LOCALBASE}"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 PLIST=		${.CURDIR}/pkg-plist
 
 WXGTK_FLAVOR?=	gtk2



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