espie 6452edba4d might fix compile on vax: the configure script refuses to proceed if
DSO is not found.

BUT, if you explicitly ask for --disable-dso, it keeps going and builds
something. Go figure...
2013-07-11 08:36:28 +00:00

36 lines
719 B
Makefile

# $OpenBSD: Makefile,v 1.31 2013/07/11 08:36:28 espie Exp $
COMMENT= Apache Portable Runtime
V= 1.4.6
DISTNAME= apr-$V
REVISION= 1
SHARED_LIBS += apr-1 4.6 # .4.6
CATEGORIES= devel
MAINTAINER= Stefan Sperling <stsp@openbsd.org>
HOMEPAGE= http://apr.apache.org/
# Apache License 2.0
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += pthread
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
${CONFIGURE_SHARED:S/-shared/-dso/} \
--includedir=${LOCALBASE}/include/apr-1/ \
--with-installbuilddir=${LOCALBASE}/lib/apr-1/ \
--enable-other-child \
--enable-threads \
ac_cv_prog_AWK=awk
pre-install:
rm -f ${WRKSRC}/libtool
.include <bsd.port.mk>