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