blob: 6b4383e8374d131ee7938706a35ddd9cc3a4fbc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.4 2002/08/25 19:22:22 jlam Exp $
#
DISTNAME= binutils-2.11.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/directory/binutils.html
COMMENT= GNU binary utilities
GNU_CONFIGURE= YES
USE_BUILDLINK_ONLY= YES
.include "../../mk/bsd.prefs.mk"
.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
.include "../../mk/bsd.pkg.mk"
|