x11-toolkits/fltk: ensure that binary packages have complete feature support

Previously, binary packages would miss Xinerama and Xcursor dependencies and
thus were giving some odd behaviors as e.g. reported in the PR.  While here,
switch to USES+=localbase instead of manually amending CPPFLAGS and LDFLAGS.

PR:	213294
This commit is contained in:
Alexey Dokuchaev 2016-11-22 12:04:48 +00:00
parent 13ce0ed633
commit dad8b8d02c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426818

View file

@ -3,7 +3,7 @@
PORTNAME= fltk
PORTVERSION= 1.3.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= http://fltk.org/pub/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@ -15,8 +15,8 @@ LICENSE= LGPL20
LIB_DEPENDS= libpng.so:graphics/png
USES= jpeg pkgconfig
USE_XORG= xft
USES= jpeg localbase pkgconfig
USE_XORG= x11 xcursor xext xfixes xft xinerama
USE_GL= glu
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@ -24,9 +24,6 @@ CONFIGURE_ARGS= --enable-shared
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES