blob: 2ffcc7727430cfa1fc6d24570e06d36b2dfe3a60 (
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
|
# $NetBSD: Makefile,v 1.55 2007/12/09 22:08:32 jklos Exp $
DISTNAME= apr-1.2.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
MAINTAINER= pkgsrc-users@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"
|