aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fltk11/Makefile')
-rw-r--r--x11-toolkits/fltk11/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/fltk11/Makefile b/x11-toolkits/fltk11/Makefile
index f78bdf04e088..a1dd83cec849 100644
--- a/x11-toolkits/fltk11/Makefile
+++ b/x11-toolkits/fltk11/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fltk11
PORTVERSION= 1.1.10
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_EASYSW}
MASTER_SITE_SUBDIR= fltk/${PORTVERSION}
@@ -15,7 +16,7 @@ DISTNAME= ${OPORTNAME}-${PORTVERSION}-source
MAINTAINER= db@FreeBSD.org
COMMENT= Cross-platform C++ graphical user interface toolkit
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
@@ -29,7 +30,7 @@ CONFIGURE_ARGS+=--enable-threads \
--libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME} \
--includedir=${PREFIX}/include/${PORTNAME}
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
OPORTNAME= fltk