mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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:
parent
0c36c6dfe8
commit
56b6a10e78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488376
1 changed files with 4 additions and 4 deletions
|
@ -17,14 +17,14 @@ LIB_DEPENDS= libgaiagraphics.so:graphics/libgaiagraphics \
|
||||||
libfreexl.so:textproc/freexl \
|
libfreexl.so:textproc/freexl \
|
||||||
libspatialite.so:databases/spatialite
|
libspatialite.so:databases/spatialite
|
||||||
|
|
||||||
|
USES= compiler:c++11-lang gmake gnome iconv localbase:ldflags \
|
||||||
|
pkgconfig
|
||||||
USE_WX= 2.8
|
USE_WX= 2.8
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_GNOME= libxml2
|
USE_GNOME= libxml2
|
||||||
USES= gmake pkgconfig iconv
|
|
||||||
|
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= `${WX_CONFIG} --cppflags`
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include `${WX_CONFIG} --cppflags`
|
LDFLAGS+= ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
|
|
||||||
CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue