Commit 82a605c2 authored by Ariadne Conill's avatar Ariadne Conill

main/libtool: fix building with slibtool

parent 6e27581a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtool
pkgver=2.4.6
pkgrel=1
pkgrel=2
pkgdesc="A generic library support script"
arch="all"
license='GPL'
url="http://www.gnu.org/software/libtool"
source="ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz
libtool-fix-cross-compile.patch
libtool-no-undefined.patch
"
depends="bash libltdl"
makedepends="m4 help2man"
......@@ -22,9 +23,8 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make
--disable-static
make V=1
}
package() {
......@@ -39,9 +39,6 @@ libltdl() {
mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/"
}
md5sums="addf44b646ddb4e3919805aa88fa7c5e libtool-2.4.6.tar.gz
3657a65e226879586c29360eac6ae41b libtool-fix-cross-compile.patch"
sha256sums="e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 libtool-2.4.6.tar.gz
c98362e9b1efd90618813a6901144452dc03f51e6300686bb07e068ac851c245 libtool-fix-cross-compile.patch"
sha512sums="3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18 libtool-2.4.6.tar.gz
aa14cadd70a633520249fa3a6a4c45b309a980380e62dd5982b3ae842c478a77401ad809297fceebd167c167b0a19f380e6a6c295bc75d1029d56d3bf262b209 libtool-fix-cross-compile.patch"
aa14cadd70a633520249fa3a6a4c45b309a980380e62dd5982b3ae842c478a77401ad809297fceebd167c167b0a19f380e6a6c295bc75d1029d56d3bf262b209 libtool-fix-cross-compile.patch
5dc4ca593a8d379de347e58ee32f5190880494e1a4efb61cac6e7a5ef9e477c2dc6655e15320066a8e441b3efaf8c0af1776fe430e6d33c38c2b74893f0d646b libtool-no-undefined.patch"
--- libtool-2.4.6.orig/libltdl/Makefile.am
+++ libtool-2.4.6/libltdl/Makefile.am
@@ -47,7 +47,6 @@
AM_CPPFLAGS += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
-DLTDL -I. -I$(srcdir) -Ilibltdl \
-I$(srcdir)/libltdl
-AM_LDFLAGS += -no-undefined
LTDL_VERSION_INFO = -version-info 10:1:3
noinst_LTLIBRARIES += $(LT_DLLOADERS)
--- libtool-2.4.6.orig/libltdl/Makefile.in
+++ libtool-2.4.6/libltdl/Makefile.in
@@ -441,7 +441,6 @@
# (not as a sub-package!) using 'nostdinc':
AM_CPPFLAGS = -DLT_CONFIG_H='<$(LT_CONFIG_H)>' -DLTDL -I. -I$(srcdir) \
-Ilibltdl -I$(srcdir)/libltdl
-AM_LDFLAGS = -no-undefined
BUILT_SOURCES = libltdl/$(LT_ARGZ_H)
include_HEADERS = $(am__append_1)
noinst_LTLIBRARIES = $(LT_DLLOADERS) $(am__append_3)
--- libtool-2.4.6.orig/Makefile.in
+++ libtool-2.4.6/Makefile.in
@@ -593,7 +593,6 @@
AM_CPPFLAGS = -DLT_CONFIG_H='<$(LT_CONFIG_H)>' -DLTDL -I. -I$(srcdir) \
-Ilibltdl -I$(srcdir)/libltdl -Ilibltdl/libltdl \
-I$(srcdir)/libltdl/libltdl
-AM_LDFLAGS = -no-undefined
SUBDIRS = .
DIST_SUBDIRS = $(SUBDIRS)
EXTRA_DIST = bootstrap bootstrap.conf $(build_scripts) cfg.mk maint.mk \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment