aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-30 08:09:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-30 08:09:28 +0000
commitb386386fbd9a04b1efd01a38cd2849d39de53abd (patch)
tree1fdc8dfe97fbd71a3f852552a8b533ce6beea26a
parent33178fb8740561220491085a1345488960d3033f (diff)
downloadaports-b386386fbd9a04b1efd01a38cd2849d39de53abd.tar.bz2
aports-b386386fbd9a04b1efd01a38cd2849d39de53abd.tar.xz
extra/glib: remove -w from perl script
busybox env does not handle it correctly so we make a workaround
-rw-r--r--extra/glib/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/glib/APKBUILD b/extra/glib/APKBUILD
index 56fb5da915..81c189dc81 100644
--- a/extra/glib/APKBUILD
+++ b/extra/glib/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=glib
pkgver=2.20.4
-pkgrel=0
+pkgrel=1
pkgdesc="Common C routines used by Gtk+ and other libs"
url="http://www.gtk.org"
license='GPL'
@@ -15,6 +15,9 @@ depends_dev="perl gettext-dev libiconv-dev"
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # busybox env does not handle the -w after perl. we remove it for now
+ sed -i -e '1,1s/ -w//' gobject/glib-mkenums.in
+
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1