- fix option WITH_FONTCONFIG

PR:		109476
Submitted by:	Radim Kolar
This commit is contained in:
Dirk Meyer 2007-02-23 23:47:21 +00:00
parent 97a006d824
commit 8e4d734fe6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185774

View file

@ -46,8 +46,8 @@ FEATURES+= GD_XPM
.if defined(WITH_FONTCONFIG)
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
CPPFLAGS+= -I${X11BASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
LDFLAGS2+= ${PTHREAD_LIBS}
LDFLAGS+= ${PTHREAD_LIBS} -L${X11BASE}/lib -lfontconfig
LDFLAGS2+= ${PTHREAD_LIBS} -L${X11BASE}/lib
FEATURES+= GD_FONTCONFIG
.endif