diff options
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" |