pkgsrc/devel/binutils/Makefile

33 lines
777 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2002/09/29 07:32:55 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
CONFLICTS= ddd<=3.3 # libiberty.a
2002-09-29 08:48:22 +02:00
USE_BUILDLINK2= YES
GNU_CONFIGURE= 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
2002-09-29 08:48:22 +02:00
.else
PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
.endif
.include "../../mk/bsd.pkg.mk"