pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/fonts/harfbuzz



I have no environment using builtin X11, but following may help to
resolve the issue.

Index: builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/freetype2/builtin.mk,v
retrieving revision 1.14
diff -u -r1.14 builtin.mk
--- builtin.mk  24 Mar 2014 15:29:54 -0000      1.14
+++ builtin.mk  28 Jan 2015 11:29:29 -0000
@@ -81,6 +81,18 @@

 .  if !empty(USE_BUILTIN.freetype2:M[nN][oO])
 BUILDLINK_API_DEPENDS.freetype2+=      freetype2>=2.1.3
+.  else
+.    if !empty(MACHINE_PLATFORM:MNetBSD-[67].*-*)
+_FT2_VER_MAP.2.5.3=17.2.1
+_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

--
OBATA Akio / obata%lins.jp@localhost



Home | Main Index | Thread Index | Old Index