lang/gnatdroid-binutils: Update to version 2.24
Seven patches were present that barred this port from building and, more importantly, installing info pages and man pages. Reduce the patch count from nine to two by allowing the documentation to build and install in the stage directory, but then moving the documentation out of the way before staging occurs. The remaining two patches were regenerated although they did apply "cleanly".
This commit is contained in:
parent
856cf2e29c
commit
f3477bdf77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340397
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= binutils
|
||||
PORTVERSION= 2.21.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.24
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
||||
MASTER_SITE_SUBDIR= binutils/releases
|
||||
@ -42,6 +41,8 @@ CONFIGURE_ARGS+= --disable-werror
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
|
||||
post-install:
|
||||
# Move the unwanted documentation out of the stage directory
|
||||
${MV} ${STAGEDIR}${BR1_PREFIX}/share ${WRKDIR}
|
||||
${MKDIR} ${STAGEDIR}${BR2_PREFIX}
|
||||
(cd ${STAGEDIR}${BR1_PREFIX} && ${COPYTREE_BIN} \* \
|
||||
${STAGEDIR}${BR2_PREFIX})
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (binutils-2.21.1.tar.bz2) = f769b64350a02fbee009e1582cc12b6ed43b41985de65effb741e258e075dd05
|
||||
SIZE (binutils-2.21.1.tar.bz2) = 18890094
|
||||
SHA256 (binutils-2.24.tar.bz2) = e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
|
||||
SIZE (binutils-2.24.tar.bz2) = 22716802
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- bfd/Makefile.in.orig 2011-07-21 01:29:01.000000000 +0200
|
||||
+++ bfd/Makefile.in 2011-07-21 01:29:26.000000000 +0200
|
||||
@@ -323,8 +323,8 @@
|
||||
RELEASE = y
|
||||
INCDIR = $(srcdir)/../include
|
||||
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
|
||||
-SUBDIRS = doc po
|
||||
-bfddocdir = doc
|
||||
+SUBDIRS = po
|
||||
+bfddocdir =
|
||||
libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
|
||||
@SHARED_LDFLAGS@ $(am__empty)
|
||||
@INSTALL_LIBBFD_TRUE@bfdlib_LTLIBRARIES = libbfd.la
|
@ -1,11 +0,0 @@
|
||||
--- binutils/Makefile.in.orig 2011-06-27 09:39:08.000000000 +0200
|
||||
+++ binutils/Makefile.in 2011-07-21 14:50:20.000000000 +0200
|
||||
@@ -401,7 +401,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = dejagnu no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = po
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
@ -1,11 +0,0 @@
|
||||
--- configure.orig 2011-06-27 09:39:00.000000000 +0200
|
||||
+++ configure 2011-07-21 14:04:08.000000000 +0200
|
||||
@@ -2670,7 +2670,7 @@
|
||||
# binutils, gas and ld appear in that order because it makes sense to run
|
||||
# "make check" in that particular order.
|
||||
# If --enable-gold is used, "gold" may replace "ld".
|
||||
-host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
|
||||
+host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
|
||||
|
||||
# libgcj represents the runtime libraries only used by gcj.
|
||||
libgcj="target-libffi \
|
@ -1,11 +0,0 @@
|
||||
--- gas/Makefile.in.orig 2011-07-21 01:29:49.000000000 +0200
|
||||
+++ gas/Makefile.in 2011-07-21 01:30:03.000000000 +0200
|
||||
@@ -281,7 +281,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = po
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
@ -1,10 +1,10 @@
|
||||
--- gas/configure.tgt.orig 2011-01-29 04:08:15 +0100
|
||||
+++ gas/configure.tgt 2011-01-29 04:15:35 +0100
|
||||
@@ -105,6 +105,7 @@
|
||||
--- gas/configure.tgt.orig 2013-11-04 15:33:37.000000000 +0000
|
||||
+++ gas/configure.tgt
|
||||
@@ -128,6 +128,7 @@ case ${generic_target} in
|
||||
|
||||
arc-*-elf*) fmt=elf ;;
|
||||
|
||||
+ arm-android-eabi*) fmt=elf em=armlinuxeabi ;;
|
||||
arm-*-aout) fmt=aout ;;
|
||||
arm-*-coff | thumb-*-coff) fmt=coff ;;
|
||||
arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
|
||||
arm-*-coff) fmt=coff ;;
|
||||
arm-*-rtems*) fmt=elf ;;
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- gprof/Makefile.in.orig 2010-11-05 11:34:01.000000000 +0100
|
||||
+++ gprof/Makefile.in 2011-07-23 19:05:29.000000000 +0200
|
||||
@@ -93,7 +93,7 @@
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
SOURCES = $(gprof_SOURCES)
|
||||
-INFO_DEPS = gprof.info
|
||||
+INFO_DEPS =
|
||||
am__TEXINFO_TEX_DIR = $(srcdir)/$(top_srcdir)/../texinfo
|
||||
DVIS = gprof.dvi
|
||||
PDFS = gprof.pdf
|
||||
@@ -861,7 +861,7 @@
|
||||
|
||||
info-am: $(INFO_DEPS)
|
||||
|
||||
-install-data-am: install-info-am install-man
|
||||
+install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- ld/Makefile.in.orig 2011-03-16 09:37:30.000000000 +0100
|
||||
+++ ld/Makefile.in 2011-07-21 14:56:55.000000000 +0200
|
||||
@@ -1817,11 +1817,11 @@
|
||||
|
||||
html-am: $(HTMLS)
|
||||
|
||||
-info: info-recursive
|
||||
+info:
|
||||
|
||||
info-am: $(INFO_DEPS)
|
||||
|
||||
-install-data-am: install-data-local install-info-am install-man
|
||||
+install-data-am: install-data-local
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- ld/configure.tgt.orig 2011-01-29 04:17:31 +0100
|
||||
+++ ld/configure.tgt 2011-01-29 04:18:28 +0100
|
||||
@@ -44,6 +44,10 @@
|
||||
--- ld/configure.tgt.orig 2013-11-26 11:37:33.000000000 +0000
|
||||
+++ ld/configure.tgt
|
||||
@@ -72,6 +72,10 @@ alpha*-*-*vms*) targ_emul=alphavms
|
||||
;;
|
||||
arc-*-elf*) targ_emul=arcelf
|
||||
;;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- libiberty/Makefile.in.orig 2011-07-23 00:35:21.000000000 +0200
|
||||
+++ libiberty/Makefile.in 2011-07-23 00:35:38.000000000 +0200
|
||||
@@ -340,7 +340,7 @@
|
||||
@MAINT@ echo stamp > stamp-functions
|
||||
|
||||
INSTALL_DEST = @INSTALL_DEST@
|
||||
-install: install_to_$(INSTALL_DEST) install-subdir
|
||||
+install:
|
||||
|
||||
# This is tricky. Even though CC in the Makefile contains
|
||||
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
|
Loading…
Reference in New Issue
Block a user