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 2015 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
20 COMPONENT_NAME
= libXext
21 COMPONENT_VERSION
= 1.3.6
22 COMPONENT_SUMMARY
= libXext
- X11 protocol common extensions client library
23 COMPONENT_ARCHIVE_EXTENSION
= .
tar.xz
24 COMPONENT_ARCHIVE_HASH
= sha256
:edb59fa23994e405fdc5b400afdf5820ae6160b94f35e3dc3da4457a16e89753
25 COMPONENT_FMRI
= x11
/library
/libxext
26 COMPONENT_LICENSE_FILE
= COPYING
28 DROP_STATIC_LIBRARIES
= yes
30 include $(WS_MAKE_RULES
)/common.mk
34 LD_OPTIONS
+= -M
$(COMPONENT_DIR
)/mapfile-vers
36 COMPONENT_PREP_ACTION
= ( cp
-r
$(COMPONENT_DIR
)/srcs
/* $(SOURCE_DIR
) && \
37 cd
$(@D
) && PATH
=$(PATH
) libtoolize
--copy
--force && \
42 # Missing files in build dir for configure without this.
43 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
45 CONFIGURE_ENV
+= LIB_MAN_SUFFIX
=3xext
46 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
48 CONFIGURE_OPTIONS
+= --without-xmlto
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= x11
/library
/libx11
53 REQUIRED_PACKAGES
+= x11
/library
/libxscrnsaver