2002-09-29 09:32:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2002/09/29 07:32:55 jlam Exp $
|
2002-04-30 14:33:29 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2002-09-29 09:32:55 +02:00
|
|
|
CONFLICTS= ddd<=3.3 # libiberty.a
|
|
|
|
|
2002-09-29 08:48:22 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-04-30 14:33:29 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2002-07-11 18:09:36 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
PATCHFILES= binutils-NetBSD-diff-20020418.patch.bz2
|
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
2002-08-12 04:17:23 +02:00
|
|
|
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
|
|
|
|
|
2002-09-29 08:48:22 +02:00
|
|
|
.else
|
2002-07-11 18:09:36 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
|
|
|
|
.endif
|
|
|
|
|
2002-04-30 14:33:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|