aboutsummaryrefslogtreecommitdiffstats
path: root/main/libglade/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-17 07:58:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-17 08:02:27 +0000
commit629528f3931a2ccd81a348a74c9f4d5edad5c1a1 (patch)
tree5c96aac6e764b39cdf01517178869a7182c1de08 /main/libglade/APKBUILD
parentb92355da409a82f00829efb8d0d7c47df0cdd794 (diff)
downloadaports-629528f3931a2ccd81a348a74c9f4d5edad5c1a1.tar.bz2
aports-629528f3931a2ccd81a348a74c9f4d5edad5c1a1.tar.xz
main/libglade: rebuild to get rid -lGL from libtool
The libtool archives stored the linking to -lGL from cairo's .la files but GL support was later removed. We remove the libtool archives to prevent similar things happen in future. If anythings needs the libglade libtool archive, fix it there. (grep libglade /usr/lib/*.la or similar) We also disable static lib while here.
Diffstat (limited to 'main/libglade/APKBUILD')
-rw-r--r--main/libglade/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD
index a428f66b91..e46002e81a 100644
--- a/main/libglade/APKBUILD
+++ b/main/libglade/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libglade
pkgver=2.6.4
-pkgrel=8
+pkgrel=9
pkgdesc="Allows you to load glade interface files in a program at runtime"
url="http://www.gnome.org"
arch="all"
@@ -26,6 +26,7 @@ build() {
cd "$_builddir"
./configure --sysconfdir=/etc \
--prefix=/usr \
+ --disable-static \
--localstatedir=/var || return 1
make || return 1
}
@@ -34,6 +35,7 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 libglade-convert "$pkgdir"/usr/bin/ || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="d1776b40f4e166b5e9c107f1c8fe4139 libglade-2.6.4.tar.bz2