Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 20:53:00 +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: r455309 - head/x11-toolkits/wxgtk30
Message-ID:  <201712012053.vB1Kr0r4053016@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec  1 20:53:00 2017
New Revision: 455309
URL: https://svnweb.freebsd.org/changeset/ports/455309

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to USE_CXXSTD
  
  Approved by:	portmgr blanket

Modified:
  head/x11-toolkits/wxgtk30/Makefile

Modified: head/x11-toolkits/wxgtk30/Makefile
==============================================================================
--- head/x11-toolkits/wxgtk30/Makefile	Fri Dec  1 20:49:18 2017	(r455308)
+++ head/x11-toolkits/wxgtk30/Makefile	Fri Dec  1 20:53:00 2017	(r455309)
@@ -11,15 +11,19 @@ DISTNAME=	wxWidgets-${PORTVERSION}
 MAINTAINER=	portmaster@bsdforge.com
 COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/docs/gpl.txt
+
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libtiff.so:graphics/tiff \
 		libexpat.so:textproc/expat2
 
-USES=		compiler:c++11-lib gmake iconv jpeg pkgconfig tar:bzip2
+USES=		compiler:c++11-lib gmake iconv jpeg localbase pkgconfig tar:bzip2
 USE_XORG=	x11 sm xxf86vm xinerama
 USE_GL=		glu
 USE_GNOME=	gtk20
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++11
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libpng=sys \
 		--with-libjpeg=sys \
@@ -34,10 +38,6 @@ CONFIGURE_ARGS=	--with-libpng=sys \
 		--enable-compat28
 CONFIGURE_ENV=	X11BASE="${LOCALBASE}" \
 		ac_cv_header_sys_inotify_h=no
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-CXXFLAGS+=	-std=c++11
-LIBS+=		-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	GSTREAMER MSPACK NLS WEBKIT
 OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT



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