|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 BUILD_BITS= 64_and_32 |
|
26 # For now, all things built for C++11 require gcc. |
|
27 COMPILER= gcc |
|
28 include ../../../make-rules/shared-macros.mk |
|
29 |
|
30 COMPONENT_NAME= enchant |
|
31 COMPONENT_VERSION= 1.6.0 |
|
32 COMPONENT_PROJECT_URL= http://www.abisource.com/projects/enchant/ |
|
33 COMPONENT_ARCHIVE_HASH= \ |
|
34 sha256:2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f |
|
35 COMPONENT_ARCHIVE_URL= http://www.abisource.com/downloads/enchant/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
|
36 COMPONENT_BUGDB= library/enchant |
|
37 |
|
38 TPNO= 9326 |
|
39 |
|
40 TEST_TARGET = $(NO_TESTS) |
|
41 |
|
42 include $(WS_MAKE_RULES)/common.mk |
|
43 |
|
44 CXXFLAGS += -std=c++11 |
|
45 |
|
46 CONFIGURE_OPTIONS += --disable-static |
|
47 |
|
48 # Force re-generate of configure since original configure is so old. |
|
49 COMPONENT_PREP_ACTION += (cd $(@D); $(CONFIG_SHELL) autogen.sh --no-configure); |
|
50 |
|
51 REQUIRED_PACKAGES += developer/build/autoconf |
|
52 REQUIRED_PACKAGES += developer/build/automake |
|
53 REQUIRED_PACKAGES += developer/build/gnu-make |
|
54 REQUIRED_PACKAGES += developer/build/pkg-config |
|
55 REQUIRED_PACKAGES += library/glib2 |
|
56 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
57 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |