2019-07-12 20:43:27 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2019/07/12 20:44:03 sthen Exp $
|
2004-11-28 14:27:38 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= Apache Portable Runtime
|
2004-11-28 14:27:38 +00:00
|
|
|
|
2019-01-22 11:55:20 +00:00
|
|
|
V= 1.6.5
|
2019-01-22 13:53:13 +00:00
|
|
|
REVISION= 0
|
2007-09-20 10:17:21 +00:00
|
|
|
DISTNAME= apr-$V
|
2019-01-22 13:53:13 +00:00
|
|
|
SHARED_LIBS += apr-1 7.0 # .6.2
|
2006-01-06 13:14:28 +00:00
|
|
|
|
2004-11-28 14:27:38 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2012-04-28 09:48:17 +00:00
|
|
|
MAINTAINER= Stefan Sperling <stsp@openbsd.org>
|
2004-11-28 14:27:38 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://apr.apache.org/
|
|
|
|
|
|
|
|
# Apache License 2.0
|
2019-07-12 20:43:27 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2004-11-28 14:27:38 +00:00
|
|
|
|
2012-12-21 12:13:35 +00:00
|
|
|
WANTLIB += pthread
|
|
|
|
|
2006-11-03 10:56:44 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
|
2004-11-28 14:27:38 +00:00
|
|
|
|
2017-10-25 19:36:46 +00:00
|
|
|
AUTOCONF_VERSION=2.69
|
|
|
|
CONFIGURE_STYLE=autoconf autoheader
|
2019-01-22 11:55:20 +00:00
|
|
|
# Prevent APR pools from re-using dynamic memory allocations:
|
|
|
|
CFLAGS="-DAPR_ALLOCATOR_MAX_FREE_DEFAULT=1"
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include/apr-1/ \
|
2012-04-28 09:48:17 +00:00
|
|
|
--with-installbuilddir=${LOCALBASE}/lib/apr-1/ \
|
2011-06-15 19:13:48 +00:00
|
|
|
--enable-other-child \
|
2012-04-28 09:48:17 +00:00
|
|
|
--enable-threads \
|
2011-06-15 19:13:48 +00:00
|
|
|
ac_cv_prog_AWK=awk
|
2017-10-25 19:36:46 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
sed -i 's@$${LIBTOOL}@${LIBTOOL}@' ${WRKBUILD}/apr-1-config
|
2007-03-24 13:46:47 +00:00
|
|
|
|
2007-10-30 16:47:50 +00:00
|
|
|
pre-install:
|
|
|
|
rm -f ${WRKSRC}/libtool
|
|
|
|
|
2004-11-28 14:27:38 +00:00
|
|
|
.include <bsd.port.mk>
|