1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

soqt-devel: fix build with GCC-based architectures

and add localbase:ldflags to simplify CPPFLAGS/LDFLAGS

PR:		235659
Submitted by:	Piotr Kubaj
This commit is contained in:
Christoph Moench-Tegeder 2019-02-11 12:53:31 +00:00
parent c1ee830225
commit 53fe86883d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492692

View File

@ -18,14 +18,15 @@ LIB_DEPENDS= libCoin.so:graphics/Coin
CONFLICTS_INSTALL= SoQt
USES= cmake dos2unix gl libtool pathfix pkgconfig qmake:no_env qt:5
USES= cmake compiler:c++11-lang dos2unix gl libtool \
localbase:ldflags pathfix pkgconfig qmake:no_env qt:5
USE_QT= buildtools core gui opengl qmake widgets
USE_GL= gl
USE_XORG= ice sm x11 xext xi
USE_LDCONFIG= yes
CPPFLAGS+= -I${QT_INCDIR}/QtCore -I${QT_INCDIR} -I${LOCALBASE}/include
LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib
CPPFLAGS+= -I${QT_INCDIR}/QtCore -I${QT_INCDIR}
LDFLAGS+= -L${QT_LIBDIR}
WRKSRC= ${WRKDIR}/soqt