#
|
# 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 2015 Alexander Pyhalov
|
#
|
|
X11_CATEGORY=LIB
|
include ../../../make-rules/shared-macros.mk
|
include $(WS_MAKE_RULES)/x11.mk
|
|
COMPONENT_NAME= libXfont
|
COMPONENT_VERSION= 1.5.4
|
COMPONENT_REVISION= 2
|
COMPONENT_FMRI= x11/library/libxfont
|
COMPONENT_SUMMARY= libXfont - library for X servers and utilities to access font files
|
COMPONENT_ARCHIVE_HASH= \
|
sha256:1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242
|
COMPONENT_LICENSE_FILE = COPYING
|
|
include $(WS_MAKE_RULES)/common.mk
|
|
COMPONENT_PREP_ACTION = (cd $(@D) && PATH="$(PATH)" autoreconf -f -i)
|
|
LD_OPTIONS += -M $(COMPONENT_DIR)/mapfile-vers
|
|
CONFIGURE_LIBDIR.32 = /usr/lib/xorg
|
CONFIGURE_LIBDIR.64 = /usr/lib/xorg/$(MACH64)
|
|
CONFIGURE_OPTIONS += --enable-freetype
|
CONFIGURE_OPTIONS += --enable-fc
|
CONFIGURE_OPTIONS += --enable-builtins
|
CONFIGURE_OPTIONS += --with-bzip2
|
CONFIGURE_OPTIONS += --disable-static
|
CONFIGURE_OPTIONS += --with-pkgconfigdir=$(PKG_CONFIG_PATH.$(BITS))
|
CONFIGURE_OPTIONS += LIB_MAN_SUFFIX=3xfont
|
|
# 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
|