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)
This commit is contained in:
Mark Linimon 2018-12-26 12:17:25 +00:00
parent 0c36c6dfe8
commit 56b6a10e78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488376

View file

@ -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