pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/bfd-crunchide Make this package build after the ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0683a758dc0b
branches: trunk
changeset: 478920:0683a758dc0b
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Mon Aug 02 02:02:30 2004 +0000
description:
Make this package build after the cross/binutils update.
Bump PKGREVISION.
diffstat:
cross/bfd-crunchide/Makefile | 12 +++++-------
cross/bfd-crunchide/files/crunchide.c | 6 +++---
2 files changed, 8 insertions(+), 10 deletions(-)
diffs (64 lines):
diff -r 8026a4fae087 -r 0683a758dc0b cross/bfd-crunchide/Makefile
--- a/cross/bfd-crunchide/Makefile Mon Aug 02 01:59:23 2004 +0000
+++ b/cross/bfd-crunchide/Makefile Mon Aug 02 02:02:30 2004 +0000
@@ -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 @@
MAINTAINER= sakamoto%NetBSD.org@localhost
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_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 -r 8026a4fae087 -r 0683a758dc0b cross/bfd-crunchide/files/crunchide.c
--- a/cross/bfd-crunchide/files/crunchide.c Mon Aug 02 01:59:23 2004 +0000
+++ b/cross/bfd-crunchide/files/crunchide.c Mon Aug 02 02:02:30 2004 +0000
@@ -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 @@
}
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);
Home |
Main Index |
Thread Index |
Old Index