| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.56 2017/04/30 01:22:02 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2017/05/25 13:38:42 jperkin Exp $ |
2 | # | | 2 | # |
3 | # When updating this package, make sure that no strings like | | 3 | # When updating this package, make sure that no strings like |
4 | # "PR 12345" are in the commit message. Upstream likes | | 4 | # "PR 12345" are in the commit message. Upstream likes |
5 | # to reference their own PRs this way, but this ends up | | 5 | # to reference their own PRs this way, but this ends up |
6 | # in NetBSD GNATS. | | 6 | # in NetBSD GNATS. |
7 | | | 7 | |
8 | DISTNAME= httpd-2.4.25 | | 8 | DISTNAME= httpd-2.4.25 |
9 | PKGNAME= ${DISTNAME:S/httpd/apache/} | | 9 | PKGNAME= ${DISTNAME:S/httpd/apache/} |
10 | PKGREVISION= 3 | | 10 | PKGREVISION= 3 |
11 | CATEGORIES= www | | 11 | CATEGORIES= www |
12 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/} | | 12 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/} |
13 | MASTER_SITES+= http://archive.apache.org/dist/httpd/ | | 13 | MASTER_SITES+= http://archive.apache.org/dist/httpd/ |
14 | MASTER_SITES+= http://archive.eu.apache.org/dist/httpd/ | | 14 | MASTER_SITES+= http://archive.eu.apache.org/dist/httpd/ |
| @@ -24,29 +24,35 @@ BUILD_DEFS+= VARBASE | | | @@ -24,29 +24,35 @@ BUILD_DEFS+= VARBASE |
24 | | | 24 | |
25 | USE_LIBTOOL= yes | | 25 | USE_LIBTOOL= yes |
26 | USE_TOOLS+= pax perl pkg-config | | 26 | USE_TOOLS+= pax perl pkg-config |
27 | GNU_CONFIGURE= yes | | 27 | GNU_CONFIGURE= yes |
28 | CONFIGURE_ARGS+= --enable-layout=NetBSD | | 28 | CONFIGURE_ARGS+= --enable-layout=NetBSD |
29 | CONFIGURE_ARGS+= --enable-mods-shared=all | | 29 | CONFIGURE_ARGS+= --enable-mods-shared=all |
30 | CONFIGURE_ARGS+= --enable-so | | 30 | CONFIGURE_ARGS+= --enable-so |
31 | CONFIGURE_ARGS+= --with-apr=${BUILDLINK_PREFIX.apr} | | 31 | CONFIGURE_ARGS+= --with-apr=${BUILDLINK_PREFIX.apr} |
32 | CONFIGURE_ARGS+= --with-apr-util=${BUILDLINK_PREFIX.apr-util} | | 32 | CONFIGURE_ARGS+= --with-apr-util=${BUILDLINK_PREFIX.apr-util} |
33 | CONFIGURE_ARGS+= --with-port=80 | | 33 | CONFIGURE_ARGS+= --with-port=80 |
34 | CONFIGURE_ENV+= perlbin=${PERL5:Q} | | 34 | CONFIGURE_ENV+= perlbin=${PERL5:Q} |
35 | CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent | | 35 | CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent |
36 | | | 36 | |
37 | CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ | | 37 | .include "../../mk/compiler.mk" |
| | | 38 | |
| | | 39 | CFLAGS.SunOS+= -D__EXTENSIONS__ |
| | | 40 | .if !empty(CC_VERSION:Mgcc-[7-9]*) |
| | | 41 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 |
| | | 42 | .else |
| | | 43 | CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 |
| | | 44 | .endif |
38 | | | 45 | |
39 | .include "../../mk/bsd.prefs.mk" | | | |
40 | BUILDLINK_API_DEPENDS.apr+= apr>=1.5.0 | | 46 | BUILDLINK_API_DEPENDS.apr+= apr>=1.5.0 |
41 | .include "../../devel/apr/buildlink3.mk" | | 47 | .include "../../devel/apr/buildlink3.mk" |
42 | BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.5.3 | | 48 | BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.5.3 |
43 | .include "../../devel/apr-util/buildlink3.mk" | | 49 | .include "../../devel/apr-util/buildlink3.mk" |
44 | .include "../../devel/pcre/buildlink3.mk" | | 50 | .include "../../devel/pcre/buildlink3.mk" |
45 | .include "../../security/openssl/buildlink3.mk" | | 51 | .include "../../security/openssl/buildlink3.mk" |
46 | .include "../../textproc/expat/buildlink3.mk" | | 52 | .include "../../textproc/expat/buildlink3.mk" |
47 | .include "../../mk/dlopen.buildlink3.mk" | | 53 | .include "../../mk/dlopen.buildlink3.mk" |
48 | .include "../../mk/pthread.buildlink3.mk" | | 54 | .include "../../mk/pthread.buildlink3.mk" |
49 | | | 55 | |
50 | CONFIGURE_ARGS+= --disable-xml2enc | | 56 | CONFIGURE_ARGS+= --disable-xml2enc |
51 | CONFIGURE_ARGS+= --disable-proxy-html | | 57 | CONFIGURE_ARGS+= --disable-proxy-html |
52 | CONFIGURE_ARGS+= --enable-proxy-fdpass | | 58 | CONFIGURE_ARGS+= --enable-proxy-fdpass |