Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 12:17:25 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488376 - head/databases/spatialite_gui
Message-ID:  <201812261217.wBQCHPPH089209@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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