zsh: update to 5.7.1 & native build
[unleashed-userland.git] / components / x11 / libXt / Makefile
blob2072034a7bdc9a30cac324dbc6b79689f6f141f1
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
5 # 1.0 of the CDDL.
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 2016 Aurelien Larcher
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libXt
19 COMPONENT_VERSION= 1.1.5
20 COMPONENT_FMRI= x11/library/toolkit/libxt
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= libXt - X Toolkit library
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/lib/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= libXt.license
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 # https://bugs.freedesktop.org/show_bug.cgi?id=6569
40 LD_B_DIRECT=
42 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
44 CPPFLAGS+= -DGETVALUES_BUG -DNO_ALLOCA
46 CONFIGURE_OPTIONS+= --disable-static
47 CONFIGURE_OPTIONS+= --enable-shared
50 build: $(BUILD_32_and_64)
52 install: $(INSTALL_32_and_64)
54 test: $(NO_TESTS)
56 REQUIRED_PACKAGES += system/library
57 REQUIRED_PACKAGES += x11/library/libice
58 REQUIRED_PACKAGES += x11/library/libsm
59 REQUIRED_PACKAGES += x11/library/libx11