diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-23 00:02:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-23 00:02:49 +0000 |
commit | 8c4b1d7deb185de8e7a8cb6ec8e51821627c8453 (patch) | |
tree | 060c397a7197bb1bc8f5fd1098939968fea625b3 /devel | |
parent | f64169a06884fdf2585681023056831e8df6a121 (diff) | |
download | pkgsrc-8c4b1d7deb185de8e7a8cb6ec8e51821627c8453.tar.gz |
More closely follow doc/Makefile-example.
Diffstat (limited to 'devel')
-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" |