1169b0adf0
- Security: CVE-2011-1928 apr_fnmatch(): Fix high CPU loop. [William Rowe] - Fix top_builddir in installed apr_rules.mk. [Bojan Smojver] Please note the fix for CVE-2011-1928 was previously already integrated as a patch.
32 lines
811 B
Makefile
32 lines
811 B
Makefile
# $NetBSD: Makefile,v 1.64 2011/05/22 22:41:00 tron Exp $
|
|
|
|
DISTNAME= apr-1.4.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://apr.apache.org/
|
|
COMMENT= Apache Portable Runtime
|
|
LICENSE= apache-2.0
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
PKGCONFIG_OVERRIDE+= apr.pc.in
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
|
|
CONFIGURE_ARGS+= --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"
|