pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/avr-binutils Use GNU_CONFIGURE and fix its argum...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7fc8b1d2f3df
branches: trunk
changeset: 459793:7fc8b1d2f3df
user: seb <seb%pkgsrc.org@localhost>
date: Thu Aug 07 13:41:34 2003 +0000
description:
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:
cross/avr-binutils/Makefile | 26 ++++++++++++++++++--------
cross/avr-binutils/PLIST | 8 +-------
2 files changed, 19 insertions(+), 15 deletions(-)
diffs (70 lines):
diff -r fa0cf612e47e -r 7fc8b1d2f3df cross/avr-binutils/Makefile
--- a/cross/avr-binutils/Makefile Thu Aug 07 12:27:40 2003 +0000
+++ b/cross/avr-binutils/Makefile Thu Aug 07 13:41:34 2003 +0000
@@ -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 @@
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 -r fa0cf612e47e -r 7fc8b1d2f3df cross/avr-binutils/PLIST
--- a/cross/avr-binutils/PLIST Thu Aug 07 12:27:40 2003 +0000
+++ b/cross/avr-binutils/PLIST Thu Aug 07 13:41:34 2003 +0000
@@ -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-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-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
Home |
Main Index |
Thread Index |
Old Index