|
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 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 include ../../make-rules/shared-macros.mk |
|
24 |
|
25 COMPONENT_NAME= lynx |
|
26 COMPONENT_VERSION= 2.8.7 |
|
27 COMPONENT_PROJECT_URL= http://lynx.isc.org/ |
|
28 COMPONENT_SRC= $(COMPONENT_NAME)2-8-7 |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2 |
|
30 COMPONENT_ARCHIVE_HASH= \ |
|
31 sha256:301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627 |
|
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
|
33 COMPONENT_BUGDB= utility/lynx |
|
34 |
|
35 TPNO= 9373 |
|
36 |
|
37 include ../../make-rules/prep.mk |
|
38 include ../../make-rules/configure.mk |
|
39 include ../../make-rules/ips.mk |
|
40 |
|
41 # Needed to successfully find lynx.pot. |
|
42 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
43 |
|
44 CFLAGS += -I/usr/include/ncurses |
|
45 |
|
46 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
47 CONFIGURE_OPTIONS += --enable-nls |
|
48 CONFIGURE_OPTIONS += --enable-japanese-utf8 |
|
49 CONFIGURE_OPTIONS += --enable-widec |
|
50 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx |
|
51 CONFIGURE_OPTIONS += --with-ssl |
|
52 CONFIGURE_OPTIONS += --with-screen=ncurses |
|
53 |
|
54 ASLR_MODE = $(ASLR_ENABLE) |
|
55 |
|
56 configure: $(CONFIGURE_64) |
|
57 |
|
58 build: $(BUILD_64) |
|
59 |
|
60 install: $(INSTALL_64) |
|
61 |
|
62 test: $(NO_TESTS) |
|
63 |
|
64 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
65 |
|
66 include ../../make-rules/depend.mk |