summaryrefslogtreecommitdiff
path: root/cross/avr-binutils
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-08-07 13:41:34 +0000
committerseb <seb@pkgsrc.org>2003-08-07 13:41:34 +0000
commitbf06a50268f5c25a2eca5344d671f44723e3a2e8 (patch)
treec3ab097c024e150b423164312278eed1d3ba3d2d /cross/avr-binutils
parent65e902d4eafd3e71c4cee813ae31d88c5761e268 (diff)
downloadpkgsrc-bf06a50268f5c25a2eca5344d671f44723e3a2e8.tar.gz
Use GNU_CONFIGURE and fix its arguments accordingly.
Use buildlink2. Handle info files properly. Remove leftovers from FreeBSD port Makefile. Be careful about perl usage i.e. kill it. XXX This package should install itself in a separate directory hierarchy like other "cross" packages or marked as conflicting with some other (like devel/binutils).
Diffstat (limited to 'cross/avr-binutils')
-rw-r--r--cross/avr-binutils/Makefile26
-rw-r--r--cross/avr-binutils/PLIST8
2 files changed, 19 insertions, 15 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile
index 37a7830c778..66bf5d74d0c 100644
--- a/cross/avr-binutils/Makefile
+++ b/cross/avr-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/07/15 21:46:26 wennmach Exp $
+# $NetBSD: Makefile,v 1.2 2003/08/07 13:41:34 seb Exp $
# FreeBSD Id: ports/devel/avr-binutils/Makefile,v 1.9 2003/03/07 06:00:08 ade Exp
DISTNAME= binutils-2.13.2.1
@@ -10,14 +10,24 @@ MAINTAINER= karlj@mdstud.chalmers.se
COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers
USE_BZIP2= yes
+USE_BUILDLINK2= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --target=avr --prefix=${PREFIX}
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
-HAS_CONFIGURE= yes
-LIBTOOLFILES= configure bfd/configure binutils/configure \
- etc/configure gas/configure gprof/configure \
- intl/configure ld/configure libiberty/configure \
- opcodes/configure
+USE_MAKEINFO= YES
+USE_NEW_TEXINFO= YES
+
+CONFIGURE_ARGS= --target=avr
+
+INFO_FILES= as.info binutils.info ld.info
+
+# Prevent the need to run texi2pod.pl and pod2man hence
+# the need for perl as build dependency.
+post-configure:
+ cd ${WRKSRC}; \
+ for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi \
+ gas/doc/as.1; do \
+ ${TOUCH} $${f}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/cross/avr-binutils/PLIST b/cross/avr-binutils/PLIST
index 916b32d8194..c7d1eaf2e6b 100644
--- a/cross/avr-binutils/PLIST
+++ b/cross/avr-binutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/15 21:46:26 wennmach Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/08/07 13:41:35 seb Exp $
avr/bin/ar
avr/bin/as
avr/bin/ld
@@ -99,9 +99,6 @@ man/man1/avr-windres.1
man/man1/avr-c++filt.1
man/man1/avr-as.1
man/man1/avr-ld.1
-@unexec install-info --delete %D/info/as.info %D/info/dir
-@unexec install-info --delete %D/info/binutils.info %D/info/dir
-@unexec install-info --delete %D/info/ld.info %D/info/dir
info/as.info
info/as.info-1
info/as.info-10
@@ -125,9 +122,6 @@ info/ld.info-3
info/ld.info-4
info/ld.info-5
info/ld.info-6
-@exec install-info %D/info/as.info %D/info/dir
-@exec install-info %D/info/binutils.info %D/info/dir
-@exec install-info %D/info/ld.info %D/info/dir
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gas.mo