summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2009-03-03 15:37:45 +0000
committerjmmv <jmmv@pkgsrc.org>2009-03-03 15:37:45 +0000
commitd3a2e64d621b2ea114baf4ad2710650031650c67 (patch)
tree41075ebe97bc952261714cbf5c39c99a411a8e84 /devel
parent7eb7030d98d3fc2c1531c8d4788938dafdcc8018 (diff)
downloadpkgsrc-d3a2e64d621b2ea114baf4ad2710650031650c67.tar.gz
Add user-destdir support. Per joerg@'s request.
Diffstat (limited to 'devel')
-rw-r--r--devel/quilt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/quilt/Makefile b/devel/quilt/Makefile
index 521dbc04867..5bbdd7d5f7d 100644
--- a/devel/quilt/Makefile
+++ b/devel/quilt/Makefile
@@ -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 @@ MAINTAINER= jmmv@NetBSD.org
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+= --with-sendmail=/usr/sbin/sendmail
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@