pkgsrc/fonts/fontforge/hacks.mk
adam 2139eccb4c This release introduces a new icon set, new functionality for custom icon selection graphics, support for GlyphOrderAndAliasDB files, and support for Unicode 9.0.
It also fixes a number of small bugs relating to certain bitmap typefaces, stroke expansion, handling of CID ranges, and the user interface.

There are two tags and package sets. 20161004 is the original release, and 20161005 adds support for Ubuntu 16.04 and 16.10.
2017-05-04 19:23:18 +00:00

18 lines
763 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2017/05/04 19:23:18 adam Exp $
# On NetBSD 7.x for a while a version of freetype2 that was supposed
# to have ftttdrv.h was shipped without actually installing that
# header. This causes fontforge-20150824 and up to fail to build.
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "native" && !empty(MACHINE_PLATFORM:MNetBSD-7.*) && \
!exists(/usr/X11R7/include/freetype2/ftttdrv.h)
BUILDLINK_TARGETS+= buildlink-freetype2-ftttdrv.h
buildlink-freetype2-ftttdrv.h:
${RUN} \
dest=${BUILDLINK_DIR}"/include/freetype2/ftttdrv.h"; \
${ECHO_BUILDLINK_MSG} "Hacking around missing ftttdrv.h"; \
${ECHO} '#define TT_INTERPRETER_VERSION_35 35' >> "$$dest"; \
${ECHO} '#define TT_INTERPRETER_VERSION_38 38' >> "$$dest"
.endif