summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-05-05 12:33:00 +0000
committerminskim <minskim@pkgsrc.org>2018-05-05 12:33:00 +0000
commitcf3af8c3fd882b3da1dc8cf590846bf7f99599ef (patch)
tree8c8bb4c26f0ab05fb451463ca83eea3c8c40d522
parent019498b24a76f53e191e9e5048e4615a11c96a8d (diff)
downloadpkgsrc-cf3af8c3fd882b3da1dc8cf590846bf7f99599ef.tar.gz
graphics/libwmf: Make this build with freetype2-2.9.1
Avoid calling freetype-config by passing the freetype2 directory to configure.
-rw-r--r--graphics/libwmf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 951a5040048..4a2bad0d9ed 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2015/07/17 12:33:47 sevan Exp $
+# $NetBSD: Makefile,v 1.78 2018/05/05 12:33:00 minskim Exp $
DISTNAME= libwmf-0.2.8.4
PKGREVISION= 16
@@ -15,6 +15,8 @@ USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-gd
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/${PKGNAME_NOREV}
+CONFIGURE_ARGS+= --with-freetype=${BUILDLINK_PREFIX.freetype2}
+CONFIGURE_ENV+= ac_cv_path_FREETYPE_CONFIG=""
post-install:
${RMDIR} ${DESTDIR}${PREFIX}/include/libwmf/gd