summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-12-11 21:40:42 +0000
committerheinz <heinz@pkgsrc.org>2007-12-11 21:40:42 +0000
commit1f01bc95b9a77c123b8ed76a6a4540314879b6e6 (patch)
tree3be3161a6325b71d8fbe90c18b0959bfd1180397 /lang
parentc50077763846df747d571247b8ae13aeac6802d5 (diff)
downloadpkgsrc-1f01bc95b9a77c123b8ed76a6a4540314879b6e6.tar.gz
The package supports installation to DESTDIR.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl-expect/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/tcl-expect/Makefile b/lang/tcl-expect/Makefile
index 2f54e597cfe..3bd8a16c430 100644
--- a/lang/tcl-expect/Makefile
+++ b/lang/tcl-expect/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2007/02/22 19:26:40 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2007/12/11 21:40:42 heinz Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -15,5 +17,7 @@ CONFIGURE_ARGS+= --with-tclconfig=${PREFIX}/lib
CONFIGURE_ARGS+= --with-tclinclude=${PREFIX}/include/tcl
CONFIGURE_ARGS+= --without-x
+INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q}
+
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"