svn commit: r488376 - head/databases/spatialite_gui

Mark Linimon linimon at FreeBSD.org
Wed Dec 26 12:17:26 UTC 2018


Author: linimon
Date: Wed Dec 26 12:17:25 2018
New Revision: 488376
URL: https://svnweb.freebsd.org/changeset/ports/488376

Log:
  This port requires USES=compiler:c++11-lang to build on GCC-based
  architectures.
  
  While here, add USES=gnome, and use localbase:ldflags to simplify.
  
  PR:		234308
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/databases/spatialite_gui/Makefile

Modified: head/databases/spatialite_gui/Makefile
==============================================================================
--- head/databases/spatialite_gui/Makefile	Wed Dec 26 12:12:50 2018	(r488375)
+++ head/databases/spatialite_gui/Makefile	Wed Dec 26 12:17:25 2018	(r488376)
@@ -17,14 +17,14 @@ LIB_DEPENDS=	libgaiagraphics.so:graphics/libgaiagraphi
 		libfreexl.so:textproc/freexl \
 		libspatialite.so:databases/spatialite
 
+USES=		compiler:c++11-lang gmake gnome iconv localbase:ldflags \
+		pkgconfig
 USE_WX=		2.8
 GNU_CONFIGURE=	yes
 USE_GNOME=	libxml2
-USES=		gmake pkgconfig iconv
 
-CFLAGS+=	-I${LOCALBASE}/include
-CPPFLAGS+=	-I${LOCALBASE}/include `${WX_CONFIG} --cppflags`
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
+CPPFLAGS+=	`${WX_CONFIG} --cppflags`
+LDFLAGS+=	${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
 CONFIGURE_ARGS=	CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
 


More information about the svn-ports-all mailing list