equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= wget |
25 COMPONENT_NAME= wget |
26 COMPONENT_VERSION= 1.14 |
26 COMPONENT_VERSION= 1.14 |
33 COMPONENT_BUGDB= utility/wget |
33 COMPONENT_BUGDB= utility/wget |
34 |
34 |
35 include ../../make-rules/prep.mk |
35 include ../../make-rules/prep.mk |
36 include ../../make-rules/configure.mk |
36 include ../../make-rules/configure.mk |
37 include ../../make-rules/ips.mk |
37 include ../../make-rules/ips.mk |
|
38 |
|
39 # Enforce wget binary to standard path |
|
40 CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin |
38 |
41 |
39 # Enforce openssl (--with-ssl=openssl) instead of default gnutls |
42 # Enforce openssl (--with-ssl=openssl) instead of default gnutls |
40 # (--with-ssl) as wget doesn't work for secure connections with gnutls. |
43 # (--with-ssl) as wget doesn't work for secure connections with gnutls. |
41 # Set PATH to find /usr/perl5/bin/pod2man, so that the man page wget.1 |
44 # Set PATH to find /usr/perl5/bin/pod2man, so that the man page wget.1 |
42 # can be automatically generated |
45 # can be automatically generated |
59 gtar --get $(URI)/URI $(URI)/URI.pm \ |
62 gtar --get $(URI)/URI $(URI)/URI.pm \ |
60 --strip-components=1 -f $(URI).tar.gz; \ |
63 --strip-components=1 -f $(URI).tar.gz; \ |
61 gtar --get $(WWW)/lib/HTTP $(WWW)/lib/LWP $(WWW)/lib/LWP.pm \ |
64 gtar --get $(WWW)/lib/HTTP $(WWW)/lib/LWP $(WWW)/lib/LWP.pm \ |
62 --strip-components=2 -f $(WWW).tar.gz; ) |
65 --strip-components=2 -f $(WWW).tar.gz; ) |
63 |
66 |
64 build: $(BUILD_32) |
67 # Enable ASLR for this component |
|
68 ASLR_MODE = $(ASLR_ENABLE) |
65 |
69 |
66 install: $(INSTALL_32) |
70 build: $(BUILD_64) |
67 |
71 |
68 test: $(TEST_32) |
72 install: $(INSTALL_64) |
|
73 |
|
74 test: $(TEST_64) |
69 |
75 |
70 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
76 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
71 |
77 |
72 include ../../make-rules/depend.mk |
78 include ../../make-rules/depend.mk |