18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= gettext |
28 COMPONENT_NAME= gettext |
29 COMPONENT_VERSION= 0.16.1 |
29 COMPONENT_VERSION= 0.19.3 |
30 IPS_PKG_NAME= text/gnu-gettext |
30 IPS_PKG_NAME= text/gnu-gettext |
31 COMPONENT_PROJECT_URL= http://www.gnu.org/software/gettext/ |
31 COMPONENT_PROJECT_URL= http://www.gnu.org/software/gettext/ |
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
34 COMPONENT_ARCHIVE_HASH= \ |
34 COMPONENT_ARCHIVE_HASH= \ |
35 sha256:0bf850d1a079fb5a61f0a47b1a9efd35eb44032255375e1cedb0253bc27b376d |
35 sha256:f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46 |
36 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE) |
36 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE) |
37 COMPONENT_BUGDB= utility/gnu-gettext |
37 COMPONENT_BUGDB= utility/gnu-gettext |
38 |
38 |
39 TPNO= 8435 |
39 TPNO= 20141 |
40 |
40 |
41 include ../../make-rules/prep.mk |
41 include ../../make-rules/prep.mk |
42 include ../../make-rules/configure.mk |
42 include ../../make-rules/configure.mk |
43 include ../../make-rules/ips.mk |
43 include ../../make-rules/ips.mk |
44 |
44 |
48 CONFIGURE_OPTIONS += --disable-openmp |
48 CONFIGURE_OPTIONS += --disable-openmp |
49 CONFIGURE_OPTIONS += --disable-static |
49 CONFIGURE_OPTIONS += --disable-static |
50 CONFIGURE_OPTIONS += --disable-shared |
50 CONFIGURE_OPTIONS += --disable-shared |
51 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
51 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
52 |
52 |
|
53 # Fixes coredump in gnulib-test/test-localename test |
|
54 CONFIGURE_OPTIONS += ac_cv_func_newlocale=no |
|
55 |
|
56 # Everything is under /usr/bin and /usr/lib so set bindir and libdir correctly. |
|
57 CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin |
|
58 CONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib |
|
59 |
|
60 # Tests should run in a clean environment |
|
61 COMPONENT_TEST_ENV = -i |
|
62 COMPONENT_TEST_ENV += PATH=${PATH}:$(SPRO_VROOT)/bin |
|
63 |
|
64 ASLR_MODE = $(ASLR_ENABLE) |
|
65 |
53 # common targets |
66 # common targets |
54 configure: $(CONFIGURE_32) |
67 configure: $(CONFIGURE_64) |
55 |
68 |
56 build: $(BUILD_32) |
69 build: $(BUILD_64) |
57 |
70 |
58 install: $(INSTALL_32) |
71 install: $(INSTALL_64) |
59 |
72 |
60 test: $(TEST_32) |
73 test: $(TEST_64) |
61 |
74 |
62 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
75 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
63 |
76 |
64 include ../../make-rules/depend.mk |
77 include ../../make-rules/depend.mk |