diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /devel/binutils | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/binutils')
-rw-r--r-- | devel/binutils/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 6cec10a838f..fec6fe713e8 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2008/04/12 22:42:59 jlam Exp $ +# $NetBSD: Makefile,v 1.36 2008/06/20 01:09:12 joerg Exp $ DISTNAME= binutils-2.17 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://directory.fsf.org/binutils.html COMMENT= GNU binary utilities +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= avr-binutils<2.13.2.1nb1 NOT_FOR_PLATFORM= Darwin-*-* Interix-*-* @@ -53,9 +55,8 @@ post-configure: .endfor post-install: - find ${BINUTILS_PREFIX}/lib/ldscripts -type f -print \ + cd ${DESTDIR}${PREFIX} && find ${MACHINE_GNU_PLATFORM}/lib/ldscripts -type f -print \ | sort -r \ - | sed 's;${PREFIX}/;;g' \ > ${WRKDIR}/PLIST_DYNAMIC .include "../../mk/bsd.pkg.mk" |