8f155b3ba2
Changelog: Changes for APR 1.6.3 *) apr_file_trunc: Truncating a buffered file could add unexpected data after the truncate position. 51017. [Evgeny Kotkov <evgeny.kotkov visualsvn.com>] *) apr_file_trunc: Fix an issue where reading from a buffered file after truncate could return stale data from the buffer. [Evgeny Kotkov <evgeny.kotkov visualsvn.com>] *) apr_ipsubnet_create() now fails for an empty input string. [Joe Orton]
35 lines
957 B
Makefile
35 lines
957 B
Makefile
# $NetBSD: Makefile,v 1.78 2017/10/24 12:24:27 ryoon Exp $
|
|
#
|
|
# Take care, changelogs often include "PR 12345" strings
|
|
# which cause GNATS indigestion.
|
|
|
|
DISTNAME= apr-1.6.3
|
|
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
|
|
|
|
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.prefs.mk"
|
|
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|