svn commit: r426818 - head/x11-toolkits/fltk
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Nov 22 12:04:50 UTC 2016
Author: danfe
Date: Tue Nov 22 12:04:48 2016
New Revision: 426818
URL: https://svnweb.freebsd.org/changeset/ports/426818
Log:
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
Modified:
head/x11-toolkits/fltk/Makefile
Modified: head/x11-toolkits/fltk/Makefile
==============================================================================
--- head/x11-toolkits/fltk/Makefile Tue Nov 22 11:36:47 2016 (r426817)
+++ head/x11-toolkits/fltk/Makefile Tue Nov 22 12:04:48 2016 (r426818)
@@ -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
More information about the svn-ports-all
mailing list