freebsd-ports/devel/apr1/Makefile
Ollivier Robert 882da14424 autoconf 2.53 appears to change the way variables are substituted,
which breaks the install target of apr's makefile.  this patch works around
the problem.  it's not entirely correct (it breaks some other parts of the
makefile), but at least it makes the port work again.  this also corrects an
instance of 'apr-snapshot' (a previous name of the port) that we missed when
this was first committed, and adds 2 files to the pkg-plist that i missed
before.

PR:		ports/36068
Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net> (MAINTAINER)
2002-03-19 13:20:04 +00:00

43 lines
1 KiB
Makefile

# New ports collection makefile for: apr-devel
# Date created: 19 February 2002
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
#
# $FreeBSD$
#
PORTNAME= apr-devel
PORTVERSION= 20020309172416
CATEGORIES= devel
MASTER_SITES= http://www.apache.org/dist/apr/not-released/
DISTFILES= apr_20020309172416.tar.gz apr-util_20020309172426.tar.gz
MAINTAINER= rooneg@electricjellyfish.net
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
libtool:${PORTSDIR}/devel/libtool
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
pre-fetch:
${SH} pkg-install apr-devel PRE-INSTALL
pre-configure:
(cd ${WRKDIR}/apr/ && ./buildconf)
(cd ${WRKDIR}/apr-util/ && ./buildconf)
do-configure:
(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
(cd ${WRKDIR}/apr-util/ && ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
do-build:
(cd ${WRKDIR}/apr/ && make)
(cd ${WRKDIR}/apr-util/ && make)
do-install:
(cd ${WRKDIR}/apr/ && make install)
(cd ${WRKDIR}/apr-util/ && make install)
.include <bsd.port.mk>