# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2017 Aurelien Larcher # X11_CATEGORY=LIB include ../../../make-rules/shared-macros.mk include $(WS_MAKE_RULES)/x11.mk # We don't have 32 bit freetype (freetype-2) anymore. BUILD_BITS= 64 COMPONENT_NAME= libXfont2 COMPONENT_VERSION= 2.0.7 COMPONENT_FMRI= x11/library/libxfont2 COMPONENT_SUMMARY= libXfont2 - library for X servers and utilities to access font files COMPONENT_ARCHIVE_EXTENSION= .tar.xz COMPONENT_ARCHIVE_HASH= sha256:8b7b82fdeba48769b69433e8e3fbb984a5f6bf368b0d5f47abeec49de3e58efb COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = (cd $(@D) && PATH="$(PATH)" autoreconf -f -i) CONFIGURE_LIBDIR.32 = /usr/lib/xorg CONFIGURE_LIBDIR.64 = /usr/lib/xorg/$(MACH64) CONFIGURE_OPTIONS += --enable-static=no CONFIGURE_OPTIONS += --enable-builtins CONFIGURE_OPTIONS += --with-bzip2 CONFIGURE_OPTIONS += --with-pkgconfigdir=$(PKG_CONFIG_PATH.$(BITS)) CONFIGURE_ENV += LIB_MAN_SUFFIX=3xfont2 # Build dependencies REQUIRED_PACKAGES += x11/library/xtrans # Auto-generated dependencies REQUIRED_PACKAGES += compress/bzip2 REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/freetype-2 REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libfontenc