diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-28 08:17:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-28 08:17:33 +0000 |
commit | d036bc0c9eb4992ecd6d3bfcbe245c7c76431787 (patch) | |
tree | b64c219c0c56d2a408cf51f9b681d07525dc7aee | |
parent | 435034e621aaf902a686999e69f30aeaf9250468 (diff) | |
download | pkgsrc-d036bc0c9eb4992ecd6d3bfcbe245c7c76431787.tar.gz |
The freetype2 version in the pkg-config file was not properly
defined in NetBSD-6, NetBSD-7 and -current up to 7.99.4.
Manually override the detection since pkgsrc makes sure the proper
version is available.
Based on a patch by Leonardo Taccari on pkgsrc-changes.
-rw-r--r-- | fonts/harfbuzz/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fonts/harfbuzz/Makefile b/fonts/harfbuzz/Makefile index a0d461d8ce1..874d7ff5c38 100644 --- a/fonts/harfbuzz/Makefile +++ b/fonts/harfbuzz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2015/01/25 18:50:15 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2015/01/28 08:17:33 wiz Exp $ DISTNAME= harfbuzz-0.9.38 CATEGORIES= fonts @@ -19,6 +19,14 @@ CONFIGURE_ARGS+= --with-cairo=no PKGCONFIG_OVERRIDE+= src/harfbuzz.pc.in PKGCONFIG_OVERRIDE+= src/harfbuzz-icu.pc.in +# The freetype2 version in the pkg-config file was not properly +# defined in NetBSD-6, NetBSD-7 and -current up to 7.99.4. +# Manually override the detection since pkgsrc makes sure the proper +# version is available. +CONFIGURE_ARGS+= --with-freetype=yes +CONFIGURE_ENV+= FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" +CONFIGURE_ENV+= FREETYPE_LIBS="`pkg-config --libs freetype2`" + LDFLAGS.OpenBSD+= -lz .include "options.mk" |