pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-chroot Fix the do-install to include DESTDIR r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98eae9276feb
branches: trunk
changeset: 568752:98eae9276feb
user: abs <abs%pkgsrc.org@localhost>
date: Thu Dec 17 19:38:14 2009 +0000
description:
Fix the do-install to include DESTDIR references - not sufficient in itself so PKG_DESTDIR_SUPPORT not turned on
diffstat:
www/ap2-chroot/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 536b7d5c6042 -r 98eae9276feb www/ap2-chroot/Makefile
--- a/www/ap2-chroot/Makefile Thu Dec 17 19:35:03 2009 +0000
+++ b/www/ap2-chroot/Makefile Thu Dec 17 19:38:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/06/30 16:09:08 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/17 19:38:14 abs Exp $
DISTNAME= mod_chroot-0.3
PKGNAME= ${APACHE_PKG_PREFIX}-chroot-0.3
@@ -10,18 +10,18 @@
HOMEPAGE= http://core.segfault.pl/~hobbit/mod_chroot/
COMMENT= Module to easily run Apache in a chroot environment
-APACHE_MODULE= # defined
+APACHE_MODULE= yes
NO_CONFIGURE= yes
PKG_APACHE_ACCEPTED= apache2 apache22
+INSTALLATION_DIRS+= share/doc/mod_chroot
do-build:
cd ${WRKSRC} && ${APXS} -c mod_chroot.c
do-install:
cd ${WRKSRC} && ${APXS} -i mod_chroot.la
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_chroot
- cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${PREFIX}/share/doc/mod_chroot/
+ cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${DESTDIR}${PREFIX}/share/doc/mod_chroot/
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index