diff options
author | jlam <jlam> | 2004-11-23 00:02:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-23 00:02:49 +0000 |
commit | 2f170bf991528bdc4846d79afa7169e74fa8fb1a (patch) | |
tree | 060c397a7197bb1bc8f5fd1098939968fea625b3 /devel/apr | |
parent | 5f0c45d2651791fb9b6445706b5cfabd67292bec (diff) | |
download | pkgsrc-2f170bf991528bdc4846d79afa7169e74fa8fb1a.tar.gz |
More closely follow doc/Makefile-example.
Diffstat (limited to 'devel/apr')
-rw-r--r-- | devel/apr/Makefile | 19 |
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" |