[arch-commits] Commit in lib32-libltdl/repos (3 files)
Jan Steffens
heftig at gemini.archlinux.org
Thu Mar 17 20:55:34 UTC 2022
Date: Thursday, March 17, 2022 @ 20:55:34
Author: heftig
Revision: 1157063
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-libltdl/repos/multilib-testing-x86_64/
lib32-libltdl/repos/multilib-testing-x86_64/PKGBUILD
(from rev 1157062, lib32-libltdl/trunk/PKGBUILD)
lib32-libltdl/repos/multilib-testing-x86_64/no_hostname.patch
(from rev 1157062, lib32-libltdl/trunk/no_hostname.patch)
-------------------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++
no_hostname.patch | 12 +++++++++
2 files changed, 77 insertions(+)
Copied: lib32-libltdl/repos/multilib-testing-x86_64/PKGBUILD (from rev 1157062, lib32-libltdl/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2022-03-17 20:55:34 UTC (rev 1157063)
@@ -0,0 +1,65 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+# NOTE: requires rebuilt with each new gcc version
+
+pkgname=lib32-libltdl
+pkgver=2.4.7
+pkgrel=1
+_gccver=11.2.0
+pkgdesc='A generic library support script (32-bit)'
+arch=(x86_64)
+url='https://www.gnu.org/software/libtool'
+license=(GPL)
+groups=(multilib-devel)
+depends=(sh tar lib32-glibc libtool)
+makedepends=("gcc>=$_gccver" git help2man)
+checkdepends=()
+provides=("lib32-libtool=$pkgver")
+conflicts=(lib32-libtool)
+replaces=(lib32-libtool)
+options=(debug)
+_commit=6d7ce133ce54898cf28abd89d167cccfbc3c9b2b
+source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
+ git+https://git.savannah.gnu.org/git/gnulib.git
+ gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git
+ no_hostname.patch)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946')
+
+pkgver() {
+ cd libtool
+ git describe --tags | sed 's/-/+/g;s/^v//'
+}
+
+prepare() {
+ cd libtool
+
+ patch -Np1 -i ${srcdir}/no_hostname.patch
+
+ git submodule init
+ git config --local submodule.gnulib.url "$srcdir/gnulib"
+ git config --local submodule.gl-mod/bootstrap.url "$srcdir/gnulib-bootstrap"
+ git submodule update
+
+ ./bootstrap
+}
+
+build() {
+ export CC="gcc -m32" CXX="g++ -m32"
+
+ cd libtool
+ ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32" --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd libtool
+ make DESTDIR="$pkgdir" install-libLTLIBRARIES
+}
Copied: lib32-libltdl/repos/multilib-testing-x86_64/no_hostname.patch (from rev 1157062, lib32-libltdl/trunk/no_hostname.patch)
===================================================================
--- multilib-testing-x86_64/no_hostname.patch (rev 0)
+++ multilib-testing-x86_64/no_hostname.patch 2022-03-17 20:55:34 UTC (rev 1157063)
@@ -0,0 +1,12 @@
+Index: libtool-2.4.6/m4/libtool.m4
+===================================================================
+--- libtool-2.4.6.orig/m4/libtool.m4
++++ libtool-2.4.6/m4/libtool.m4
+@@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([
+ cat <<_LT_EOF >> "$cfgfile"
+ #! $SHELL
+ # Generated automatically by $as_me ($PACKAGE) $VERSION
+-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+ # Provide generalized library-building support services.
More information about the arch-commits
mailing list