Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9c2625d3bcbd7b5af8a3f29c9620d4d2c91672c5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9c2625d3bcbd7b5af8a3f29c9620d4d2c91672c5)
  • Date: Mon, 28 Feb 2022 17:03:05 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3 +++
devel/binutils-djgpp/BUILD | 22 ++++++++++++++++++++++
devel/binutils-djgpp/CONFIGURE | 1 +
devel/binutils-djgpp/DEPENDS | 9 +++++++++
devel/binutils-djgpp/DETAILS | 19 +++++++++++++++++++
devel/binutils-djgpp/HISTORY | 3 +++
devel/binutils-djgpp/INSTALL | 1 +
devel/binutils-djgpp/PRE_BUILD | 10 ++++++++++
8 files changed, 68 insertions(+)

New commits:
commit 9c2625d3bcbd7b5af8a3f29c9620d4d2c91672c5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

binutils-djgpp: new spell, binutils for DJGPP

diff --git a/ChangeLog b/ChangeLog
index 0fbda97..45958b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-02-28 Ismael Luceno <ismael AT sourcemage.org>
+ * devel/binutils-djgpp: new spell, binutils for DJGPP
+
2022-02-27 Ismael Luceno <ismael AT sourcemage.org>
* disk/refind: new spell, The rEFInd Boot Manager

diff --git a/devel/binutils-djgpp/BUILD b/devel/binutils-djgpp/BUILD
new file mode 100755
index 0000000..e84c089
--- /dev/null
+++ b/devel/binutils-djgpp/BUILD
@@ -0,0 +1,22 @@
+if [[ $BINUTILS_DJGPP_LTO == "y" ]];then
+ OPTS+=" --enable-lto"
+fi &&
+
+disable_fortify_source &&
+
+mkdir buildit &&
+cd buildit &&
+
+tooldir="$INSTALL_ROOT"/usr/lib/djgpp &&
+../configure --host=$HOST \
+ --build=$BUILD \
+ --target="i386-pc-msdosdjgpp" \
+ --prefix="$INSTALL_ROOT"/usr \
+ --libdir="$tooldir"/lib \
+ --mandir="$TRACK_ROOT"/usr/share/man \
+ --datarootdir="$INSTALL_ROOT"/usr/share/djgpp \
+ --disable-werror \
+ --enable-ld \
+ --enable-gold \
+ $OPTS &&
+make -j"$MAKE_NJOBS" tooldir="$tooldir"
diff --git a/devel/binutils-djgpp/CONFIGURE b/devel/binutils-djgpp/CONFIGURE
new file mode 100755
index 0000000..b40a7e6
--- /dev/null
+++ b/devel/binutils-djgpp/CONFIGURE
@@ -0,0 +1 @@
+config_query BINUTILS_DJGPP_LTO "enable link-time optimisation" n
diff --git a/devel/binutils-djgpp/DEPENDS b/devel/binutils-djgpp/DEPENDS
new file mode 100755
index 0000000..d261a63
--- /dev/null
+++ b/devel/binutils-djgpp/DEPENDS
@@ -0,0 +1,9 @@
+depends bison &&
+depends flex &&
+depends smgl-fhs &&
+depends texinfo &&
+depends gmp &&
+depends mpfr &&
+depends libmpc &&
+depends zlib --with-system-zlib &&
+optional_depends GETTEXT '' '--disable-nls' 'NLS support'
diff --git a/devel/binutils-djgpp/DETAILS b/devel/binutils-djgpp/DETAILS
new file mode 100755
index 0000000..6f976c9
--- /dev/null
+++ b/devel/binutils-djgpp/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=binutils-djgpp
+ VERSION=2.38
+ SOURCE=binutils-$VERSION.tar.xz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/binutils-$VERSION"
+ SOURCE_URL[0]="$GNU_URL/binutils/$SOURCE"
+ SOURCE_URL[1]="https://sourceware.org/pub/binutils/releases/$SOURCE";
+ SOURCE2="${SOURCE}.sig"
+ SOURCE2_URL[0]="${SOURCE_URL[0]}.sig"
+ SOURCE2_URL[1]="${SOURCE_URL[1]}.sig"
+ SOURCE_GPG="gnu.gpg:${SOURCE2}:UPSTREAM_KEY"
+ SOURCE2_IGNORE="signature"
+ LICENSE[0]=GPL
+ WEB_SITE="https://sourceware.org/binutils/";
+ ENTERED=20010922
+ KEYWORDS="devel"
+ SHORT="binutils for DJGPP"
+cat << EOF
+binutils for the DJGPP target.
+EOF
diff --git a/devel/binutils-djgpp/HISTORY b/devel/binutils-djgpp/HISTORY
new file mode 100644
index 0000000..15bb631
--- /dev/null
+++ b/devel/binutils-djgpp/HISTORY
@@ -0,0 +1,3 @@
+2022-02-28 Ismael Luceno <ismael AT iodev.co.uk>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, HISTORY, INSTALL, PRE_BUILD:
+ new spell, based on the binutils spell
diff --git a/devel/binutils-djgpp/INSTALL b/devel/binutils-djgpp/INSTALL
new file mode 100755
index 0000000..51a3e42
--- /dev/null
+++ b/devel/binutils-djgpp/INSTALL
@@ -0,0 +1 @@
+make install tooldir="$INSTALL_ROOT"/usr/lib/djgpp
diff --git a/devel/binutils-djgpp/PRE_BUILD b/devel/binutils-djgpp/PRE_BUILD
new file mode 100755
index 0000000..ec2e914
--- /dev/null
+++ b/devel/binutils-djgpp/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# Suppress conflicting info files
+sed -i '/^install: install-info$/d' bfd/doc/Makefile.in &&
+sed -E -i '
+ :join /^install-data-(am|local):/ {
+ /\\$/{N; Tjoin}
+ s/install-info(-am|)//
+ }
+' {gas,binutils,libctf,gprof,ld}/Makefile.in



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9c2625d3bcbd7b5af8a3f29c9620d4d2c91672c5), Ismael Luceno, 02/28/2022

Archive powered by MHonArc 2.6.24.

Top of Page