aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-02-24 07:47:21 +0800
committerdinoex <dinoex@FreeBSD.org>2007-02-24 07:47:21 +0800
commit2bc8d5e75e55d9174fb6123be4d1f8bc1397a1bb (patch)
treefbc731f58036da5d4eb0a017d02d4a309031b960 /graphics/gd
parent1ca02ccc0e16e38f3d92ce55419df611ce3023bf (diff)
downloadfreebsd-ports-gnome-2bc8d5e75e55d9174fb6123be4d1f8bc1397a1bb.tar.gz
freebsd-ports-gnome-2bc8d5e75e55d9174fb6123be4d1f8bc1397a1bb.tar.zst
freebsd-ports-gnome-2bc8d5e75e55d9174fb6123be4d1f8bc1397a1bb.zip
- fix option WITH_FONTCONFIG
PR: 109476 Submitted by: Radim Kolar
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 2b51da3481d9..19fbb9f899c4 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -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