diff options
author | dmcmahill <dmcmahill> | 2002-08-12 02:17:23 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-08-12 02:17:23 +0000 |
commit | 98b700eda49c48ccf05138201069113787df8311 (patch) | |
tree | 56ac26835644a65f83955f5e4ba35311f04daa16 /devel/binutils/Makefile | |
parent | 86d277c266c51f41933dfd41feb668aa73cf4b53 (diff) | |
download | pkgsrc-98b700eda49c48ccf05138201069113787df8311.tar.gz |
generate the ldscripts portion of the PLIST dynamically for NetBSD. This
is because that part varies for different platforms. For example, on i386
you get elf.... and alpha gives elf64....
fixes packaging/PLIST problems noted on recent alpha bulk builds.
Diffstat (limited to 'devel/binutils/Makefile')
-rw-r--r-- | devel/binutils/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index d455fcd7489..08a46d2fba3 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/07/11 16:09:36 agc Exp $ +# $NetBSD: Makefile,v 1.3 2002/08/12 02:17:23 dmcmahill Exp $ # DISTNAME= binutils-2.11.2 @@ -17,6 +17,12 @@ USE_BUILDLINK_ONLY= YES .if ${OPSYS} == "NetBSD" PATCHFILES= binutils-NetBSD-diff-20020418.patch.bz2 PATCH_SITES= ${MASTER_SITE_LOCAL} +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC ${PKGDIR}/PLIST + +post-install: + ${FIND} ${PREFIX}/${MACHINE_GNU_PLATFORM}/lib/ldscripts -type f -print | \ + ${SORT} -r | ${SED} 's;${PREFIX}/;;g' > ${WRKDIR}/PLIST_DYNAMIC + .elif ${OPSYS} == "SunOS" PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS} .endif |