blob: 239b59927ec638f885e3d8a3cc39a5dd526a2f64 (
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
|
# $NetBSD: Makefile,v 1.51 2007/01/25 17:05:35 epg Exp $
#
DISTNAME= apr-1.2.8
# Use bogus version number so as to be newer than devel/apr1 installations
# in the wild; remove this upon upgrading to 1.2.9.
PKGNAME= apr-1.2.8.2.2.4
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://apr.apache.org/
COMMENT= Apache Portable Runtime
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= apr.pc.in
CONFIGURE_ARGS+= \
--with-devrandom=/dev/urandom \
--with-installbuilddir=${PREFIX}/libexec/apr
CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
LIBS.SunOS+= -lnsl
TEST_TARGET= check
post-install:
${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
${INSTALL_SCRIPT} ${PKG_LIBTOOL} \
${DESTDIR}${PREFIX}/libexec/apr/libtool
.include "../../mk/bsd.pkg.mk"
|