diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-01 09:01:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-01 09:01:56 +0000 |
commit | f5d0c70da396a2227f2689afdad12600c83a8132 (patch) | |
tree | c14abbd8bdfbe4225a5fc6784762eb1e221ba724 | |
parent | a70b5622b456b6f9cfa097f16e0a37b4a11a873a (diff) | |
download | pkgsrc-f5d0c70da396a2227f2689afdad12600c83a8132.tar.gz |
DESTDIR support.
-rw-r--r-- | devel/libtool-base/Makefile | 4 | ||||
-rw-r--r-- | devel/libtool/Makefile.common | 3 | ||||
-rw-r--r-- | sysutils/mc/Makefile | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile index 70d26f76d05..b588d37c3df 100644 --- a/devel/libtool-base/Makefile +++ b/devel/libtool-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.78 2006/04/01 11:21:42 grant Exp $ +# $NetBSD: Makefile,v 1.79 2006/11/01 09:01:56 joerg Exp $ ########################################################################### ########################################################################### @@ -94,7 +94,7 @@ post-build: ${FILESDIR}/shlibtool.in > ${WRKSRC}/shlibtool post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/shlibtool ${PREFIX}/bin/shlibtool + ${INSTALL_SCRIPT} ${WRKSRC}/shlibtool ${DESTDIR}${PREFIX}/bin/shlibtool .endif BUILDLINK_DEPMETHOD.dlcompat= build diff --git a/devel/libtool/Makefile.common b/devel/libtool/Makefile.common index abe08609ee1..dbe305e0d90 100644 --- a/devel/libtool/Makefile.common +++ b/devel/libtool/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.66 2006/03/22 22:50:32 tv Exp $ +# $NetBSD: Makefile.common,v 1.67 2006/11/01 09:01:56 joerg Exp $ ########################################################################### ########################################################################### @@ -33,6 +33,7 @@ HOMEPAGE= http://www.gnu.org/software/libtool/libtool.html CONFLICTS= glibtool-[0-9]* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile index c6817fee207..4f75fa2ec9c 100644 --- a/sysutils/mc/Makefile +++ b/sysutils/mc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2006/09/14 15:23:28 joerg Exp $ +# $NetBSD: Makefile,v 1.67 2006/11/01 09:04:56 joerg Exp $ DISTNAME= mc-4.6.1 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= pavel.arnost@clnet.cz HOMEPAGE= http://www.ibiblio.org/mc/ COMMENT= User-friendly file manager and visual shell +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pkg-config GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES @@ -28,7 +30,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.cons.saver # remove dir if no extensions were installed there post-install: - @${RMDIR} ${PREFIX:Q}/lib/mc 2>/dev/null || ${TRUE} + @${RMDIR} ${DESTDIR}${PREFIX:Q}/lib/mc 2>/dev/null || ${TRUE} # we need working e2fsprogs and gpm packages first CONFIGURE_ARGS+= --without-ext2undel |