summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fonts/fontconfig/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile
index de47f4efe71..45d0d29093c 100644
--- a/fonts/fontconfig/Makefile
+++ b/fonts/fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2016/08/19 12:52:30 wiz Exp $
+# $NetBSD: Makefile,v 1.97 2016/09/18 13:18:20 wiz Exp $
DISTNAME= fontconfig-2.12.1
CATEGORIES= fonts
@@ -86,6 +86,10 @@ TEST_TARGET= check
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.endif
+.if ${X11_TYPE} != "modular" && exists(${X11BASE}/lib/libfontconfig.so)
+LDFLAGS+= -L../src/.libs
+.endif
+
post-install:
${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf ${DESTDIR}${TMPLDIR}