diff options
author | wiz <wiz@pkgsrc.org> | 2015-02-18 09:53:27 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-02-18 09:53:27 +0000 |
commit | 5732f666924fa908d303900b4b786d3f487131f8 (patch) | |
tree | 0797fd04f2aef45a6e9f9cd49e037b2da41ffea4 /graphics/freetype2 | |
parent | 7f8a4bd5a366a5e4461a631970ea2802cdc840cb (diff) | |
download | pkgsrc-5732f666924fa908d303900b4b786d3f487131f8.tar.gz |
Add magic to fix freetype pc files on NetBSD 6 and 7 which had outdated
information in the installed pc file.
Remove local hack in fonts/harfbuzz.
From Leonardo Taccari <iamleot@gmail.com> in private email.
Diffstat (limited to 'graphics/freetype2')
-rw-r--r-- | graphics/freetype2/builtin.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/graphics/freetype2/builtin.mk b/graphics/freetype2/builtin.mk index 9fc295140b7..49d9a460147 100644 --- a/graphics/freetype2/builtin.mk +++ b/graphics/freetype2/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.14 2014/03/24 15:29:54 tron Exp $ +# $NetBSD: builtin.mk,v 1.15 2015/02/18 09:53:27 wiz Exp $ BUILTIN_PKG:= freetype2 @@ -81,6 +81,20 @@ CHECK_BUILTIN.freetype2?= no . if !empty(USE_BUILTIN.freetype2:M[nN][oO]) BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.3 +. else +. if !empty(MACHINE_PLATFORM:MNetBSD-[67].*-*) && \ + (("${BUILTIN_VERSION.freetype2}" == "2.4.5") || \ + ("${BUILTIN_VERSION.freetype2}" == "2.5.3")) +_FT2_VER_MAP.2.5.3=17.2.11 +_FT2_VER_MAP.2.4.5=13.0.7 +SUBST_CLASSES+= fx-ft2-pc-version +SUBST_STAGE.fx-ft2-pc-version= post-wrapper +SUBST_MESSAGE.fx-ft2-pc-version=\ + Fixes wrong module version in freetype2.pc +SUBST_FILES.fx-ft2-pc-version= ${BUILDLINK_X11_DIR}/lib/pkgconfig/freetype2.pc +SUBST_SED.fx-ft2-pc-version= \ + -e 's|^\(Version:\).*|\1 ${_FT2_VER_MAP.${BUILTIN_VERSION.freetype2}}|' +. endif . endif .endif # CHECK_BUILTIN.freetype2 |