diff options
author | kristerw <kristerw> | 2004-08-02 02:02:30 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-08-02 02:02:30 +0000 |
commit | 2c06da3d25ef8d28741b860883ba21b46c7e3588 (patch) | |
tree | a2f6ff8d4f7c9a84c1142127f8883e8aba030f4a | |
parent | b7be6ccb8303bf8dbd937fa8d6903f89826c7643 (diff) | |
download | pkgsrc-2c06da3d25ef8d28741b860883ba21b46c7e3588.tar.gz |
Make this package build after the cross/binutils update.
Bump PKGREVISION.
-rw-r--r-- | cross/bfd-crunchide/Makefile | 12 | ||||
-rw-r--r-- | cross/bfd-crunchide/files/crunchide.c | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/cross/bfd-crunchide/Makefile b/cross/bfd-crunchide/Makefile index ee791c1989a..77a2a17f74f 100644 --- a/cross/bfd-crunchide/Makefile +++ b/cross/bfd-crunchide/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2004/01/20 12:10:55 agc Exp $ +# $NetBSD: Makefile,v 1.14 2004/08/02 02:02:30 kristerw Exp $ DISTNAME= bfd-crunchide-1.1 +PKGREVISION= 1 CATEGORIES= cross MASTER_SITES= # empty DISTFILES= # empty @@ -8,7 +9,7 @@ DISTFILES= # empty MAINTAINER= sakamoto@NetBSD.org COMMENT= crunchide using libbfd. Used for cross-building distributions -DEPENDS= cross-binutils>=2.9.1.1:../binutils +BUILD_DEPENDS= cross-binutils>=2.15.0.0:../binutils WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty @@ -16,13 +17,10 @@ NO_CHECKSUM= yes NO_CONFIGURE= yes USE_CROSSBASE= yes -BFD_VERSION= 2.9.1 CPPFLAGS+= -I${PREFIX}/include -MAKE_ENV+= BFD_VERSION=${BFD_VERSION} \ - LIBS="${BFD_LIBS}" +MAKE_ENV+= LIBS="${BFD_LIBS}" -FIX_RPATH+= BFD_LIBS -BFD_LIBS= -L${PREFIX}/lib -Wl,${RPATH_FLAG}${PREFIX}/lib -lbfd-${BFD_VERSION} -liberty +BFD_LIBS= ${PREFIX}/lib/libbfd.a ${PREFIX}/lib/libiberty.a ${PREFIX}/lib/libintl.a do-extract: @${MKDIR} ${WRKSRC} diff --git a/cross/bfd-crunchide/files/crunchide.c b/cross/bfd-crunchide/files/crunchide.c index a7ed3ac66e3..7e197437929 100644 --- a/cross/bfd-crunchide/files/crunchide.c +++ b/cross/bfd-crunchide/files/crunchide.c @@ -1,4 +1,4 @@ -/* $NetBSD: crunchide.c,v 1.2 2001/03/23 13:36:18 wiz Exp $ */ +/* $NetBSD: crunchide.c,v 1.3 2004/08/02 02:02:30 kristerw Exp $ */ /* NetBSD: crunchide.c,v 1.9 1999/01/11 22:40:00 kleink Exp */ /* @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: crunchide.c,v 1.2 2001/03/23 13:36:18 wiz Exp $"); +__RCSID("$NetBSD: crunchide.c,v 1.3 2004/08/02 02:02:30 kristerw Exp $"); #endif #include <unistd.h> @@ -425,7 +425,7 @@ copy_section(ibfd, isection, arg) } isection->_cooked_size = isection->_raw_size; - isection->reloc_done = true; + isection->reloc_done = 1; if (bfd_get_section_flags(ibfd, isection) & SEC_HAS_CONTENTS) { memhunk = (PTR)malloc((unsigned int)size); |