aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2004-03-25 08:06:19 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2004-03-25 08:06:19 +0000
commit45144bdd5bdbc1cdf47e4fe581e0a82d08e3ba89 (patch)
tree2ad90b13c41eee3cce056988bd7fa8833120d6e5 /x11-toolkits/fltk/Makefile
parent2933026c30c8d0b5fcc103cfc51443f58c94e937 (diff)
downloadports-45144bdd5bdbc1cdf47e4fe581e0a82d08e3ba89.tar.gz
ports-45144bdd5bdbc1cdf47e4fe581e0a82d08e3ba89.zip
Notes
Diffstat (limited to 'x11-toolkits/fltk/Makefile')
-rw-r--r--x11-toolkits/fltk/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile
index 782f75ec9785..d6c2f231c63d 100644
--- a/x11-toolkits/fltk/Makefile
+++ b/x11-toolkits/fltk/Makefile
@@ -20,7 +20,8 @@ MAINTAINER?= demon@FreeBSD.org
COMMENT?= C++ graphical user interface for X
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ Xft.2:${PORTSDIR}/x11-fonts/libXft
.if defined(WITH_XUNICODE)
PATCH_VERSION= 20010114
@@ -42,15 +43,17 @@ _PORTVERSION+= ${VERSION}
.if defined(WITH_THREADS)
CONFIGURE_ARGS+=--enable-threads
+CPPFLAGS+= "${PTHREAD_CFLAGS}"
+LDFLAGS+= "${PTHREAD_LIBS}"
.endif
VERSION= 1.1.4
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable-shared
-CONFIGURE_ENV+= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--enable-shared --enable-xft
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
USE_X_PREFIX= yes
USE_MESA= yes