blob: d197c436f692e62507d2120990ad95a5bbf4ad7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $NetBSD: Makefile,v 1.5 2001/04/08 10:55:21 itojun Exp $
DISTNAME= httpd-2_0_16-beta
PKGNAME= apache-2.0.16
CATEGORIES= www
MASTER_SITES= http://httpd.apache.org/dist/httpd/ \
http://www.netbsd.org/images/logos/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.apache.org/
COMMENT= HTTP (Web) server, version 2
CONFLICTS= apache-*modssl-* apache-* apache6-* ap-*
# autodetect
BUILD_DEFS+= USE_INET6
GNU_CONFIGURE= # defined
USE_GMAKE= yes
USE_SSL= yes
CONFIGURE_ARGS+= --enable-layout=NetBSD
CONFIGURE_ARGS+= --with-port=80
.if exists(${LOCALBASE}/include/openssl/ssl.h)
CONFIGURE_ARGS+= --with-ssl=${LOCALBASE}/include --enable-tls
.else
CONFIGURE_ARGS+= --with-ssl=/usr/include --enable-tls
.endif
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-rewrite
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/srclib/pcre/ltconfig \
${WRKSRC}/srclib/apr/build/ltconfig \
${WRKSRC}/srclib/apr/shmem/unix/mm/ltconfig \
${WRKSRC}/srclib/apr-util/build/ltconfig \
${WRKSRC}/srclib/apr-util/xml/expat/conftools/ltconfig \
${WRKSRC}/ltconfig
WRKSRC= ${WRKDIR}/httpd-2_0_16
LIBS= srclib/apr/shmem/unix/mm/libmm.la \
srclib/apr/libapr.la \
srclib/apr-util/xml/expat/lib/libexpat.la \
srclib/apr-util/libaprutil.la
post-patch:
${RM} ${WRKSRC}/docs/conf/*.orig
(cd ${WRKSRC}; ${LN} -s ${LOCALBASE}/bin/libtool)
pre-install:
for i in ${LIBS}; do \
${SH} ${WRKSRC}/libtool ${INSTALL_DATA} \
${WRKSRC}/$$i ${PREFIX}/lib; \
done
.include "../../mk/bsd.pkg.mk"
|