summaryrefslogtreecommitdiff
path: root/devel/apr
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-23 00:02:49 +0000
committerjlam <jlam>2004-11-23 00:02:49 +0000
commit2f170bf991528bdc4846d79afa7169e74fa8fb1a (patch)
tree060c397a7197bb1bc8f5fd1098939968fea625b3 /devel/apr
parent5f0c45d2651791fb9b6445706b5cfabd67292bec (diff)
downloadpkgsrc-2f170bf991528bdc4846d79afa7169e74fa8fb1a.tar.gz
More closely follow doc/Makefile-example.
Diffstat (limited to 'devel/apr')
-rw-r--r--devel/apr/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index c344ae8a78a..b25792f654f 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2004/11/22 23:10:55 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2004/11/23 00:02:49 jlam Exp $
+
+.include "../../www/apache2/Makefile.common"
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
PKGREVISION= 1
@@ -35,8 +37,15 @@ APU_CONFIGURE_ARGS= \
--without-gdbm
.include "../../mk/bsd.prefs.mk"
+.include "../../textproc/expat/buildlink3.mk"
.include "options.mk"
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= pre-configure
+SUBST_FILES.conf= apr/config.layout apr-util/config.layout
+SUBST_SED.conf= -e "s,@PREFIX@,${PREFIX},g"
+SUBST_MESSAGE.conf= "Fixing harcoded paths."
+
do-configure:
@cd ${WRKSRC}/apr && ${SETENV} ${CONFIGURE_ENV} ./configure \
${APR_CONFIGURE_ARGS}
@@ -50,12 +59,4 @@ post-install:
@${CHMOD} ${PKGDIRMODE} ${PREFIX}/include/apr-0
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/apr-0/
-SUBST_CLASSES+= conf
-SUBST_STAGE.conf= pre-configure
-SUBST_FILES.conf= apr/config.layout apr-util/config.layout
-SUBST_SED.conf= -e "s,@PREFIX@,${PREFIX},g"
-SUBST_MESSAGE.conf= "Fixing harcoded paths."
-
-.include "../../www/apache2/Makefile.common"
-.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"