summaryrefslogtreecommitdiff
path: root/system/libtool/libtool.patch
blob: 4302b7e075993caeb1c329b61ba4601518ab010a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD
index de86f2aeb7..3a7d137533 100644
--- a/main/libtool/APKBUILD
+++ b/main/libtool/APKBUILD
@@ -4,13 +4,14 @@ pkgver=2.4.6
 pkgrel=1
 pkgdesc="A generic library support script"
 arch="all"
-license='GPL'
+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
 	"
 depends="bash libltdl"
 makedepends="m4 help2man"
+checkdepends="mawk autoconf automake gzip"
 subpackages="libltdl $pkgname-doc"
 options="libtool"
 
@@ -23,7 +24,7 @@ build() {
 		--host=$CHOST \
 		--prefix=/usr \
 		--disable-static \
-		|| return 1
+		lt_cv_shlibpath_overrides_runpath=yes
 	make
 }
 
@@ -32,6 +33,11 @@ package() {
 	make DESTDIR="$pkgdir" install
 }
 
+check() {
+	cd "$builddir"
+	make check
+}
+
 libltdl() {
 	pkgdesc="Runtime libraries for GNU Libtool Dynamic Module Loader"
 	depends=