pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/quilt Add user-destdir support. Per joerg@'s re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/235243fe3288
branches:  trunk
changeset: 555498:235243fe3288
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Mar 03 15:37:45 2009 +0000

description:
Add user-destdir support.  Per joerg@'s request.

diffstat:

 devel/quilt/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r f87329479e80 -r 235243fe3288 devel/quilt/Makefile
--- a/devel/quilt/Makefile      Tue Mar 03 15:19:26 2009 +0000
+++ b/devel/quilt/Makefile      Tue Mar 03 15:37:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/02/08 19:29:25 bjs Exp $
+# $NetBSD: Makefile,v 1.5 2009/03/03 15:37:45 jmmv Exp $
 #
 
 DISTNAME=      quilt-0.46
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://savannah.nongnu.org/projects/quilt
 COMMENT=       Tools to manage series of patches
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      coreutils-[0-9]*:../../sysutils/coreutils
 DEPENDS+=      gsed-[0-9]*:../../textproc/gsed
 DEPENDS+=      patch>=2.4:../../devel/patch
@@ -26,7 +28,7 @@
 CONFIGURE_ARGS+=       --without-rpmbuild
 CONFIGURE_ARGS+=       --without-getopt
 
-INSTALL_MAKE_FLAGS+=   etcdir=${PREFIX}/share/examples/quilt
+INSTALL_MAKE_FLAGS+=   BUILD_ROOT=${DESTDIR:Q} etcdir=${PREFIX}/share/examples/quilt
 
 REPLACE_INTERPRETER+=  conf-bash
 REPLACE.conf-bash.old= @BASH@



Home | Main Index | Thread Index | Old Index