From 56b6a10e7883f05e9b51461e376773e8596377d0 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Wed, 26 Dec 2018 12:17:25 +0000 Subject: [PATCH] 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) --- databases/spatialite_gui/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/databases/spatialite_gui/Makefile b/databases/spatialite_gui/Makefile index 6e40ae60d4bb..9c01883edd48 100644 --- a/databases/spatialite_gui/Makefile +++ b/databases/spatialite_gui/Makefile @@ -17,14 +17,14 @@ LIB_DEPENDS= libgaiagraphics.so:graphics/libgaiagraphics \ 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