mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Update pkgconfig to 0.25, this required a minor patch to build on gcc2.
This commit is contained in:
14
dev-util/pkgconfig/patches/pkgconfig-0.25.patch
Normal file
14
dev-util/pkgconfig/patches/pkgconfig-0.25.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- pkg-config-0.25/parse.c 2010-05-27 20:21:36.003670016 +0000
|
||||
+++ pkg-config-0.25-haiku/parse.c 2010-08-05 02:44:44.243269632 +0000
|
||||
@@ -880,8 +880,9 @@
|
||||
pkg->other_cflags = g_slist_prepend (pkg->other_cflags,
|
||||
g_strdup (arg));
|
||||
if (strcmp("-idirafter", arg) == 0) {
|
||||
- tmp = trim_string(argv[++i]);
|
||||
- char *n = strdup_escape_shell(tmp);
|
||||
+ char *n;
|
||||
+ tmp = trim_string(argv[++i]);
|
||||
+ n = strdup_escape_shell(tmp);
|
||||
pkg->other_cflags = g_slist_prepend(pkg->other_cflags, n);
|
||||
g_free(tmp);
|
||||
}
|
||||
40
dev-util/pkgconfig/pkgconfig-0.25.bep
Normal file
40
dev-util/pkgconfig/pkgconfig-0.25.bep
Normal file
@@ -0,0 +1,40 @@
|
||||
DESCRIPTION="pkgconfig"
|
||||
HOMEPAGE="http://pkg-config.freedesktop.org/wiki/"
|
||||
SRC_URI="http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz"
|
||||
CHECKSUM_MD5="a3270bab3f4b69b7dc6dbdacbcae9745"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd pkg-config-0.25/glib-1.2.10
|
||||
mkdir -p m4
|
||||
cp /boot/common/share/aclocal/libtool.m4 m4
|
||||
cp /boot/common/share/aclocal/ltoptions.m4 m4
|
||||
cp /boot/common/share/aclocal/ltversion.m4 m4
|
||||
cp /boot/common/share/aclocal/ltsugar.m4 m4
|
||||
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoreconf
|
||||
cd ..
|
||||
mkdir -p m4
|
||||
cp /boot/common/share/aclocal/libtool.m4 m4
|
||||
cp /boot/common/share/aclocal/ltoptions.m4 m4
|
||||
cp /boot/common/share/aclocal/ltversion.m4 m4
|
||||
cp /boot/common/share/aclocal/ltsugar.m4 m4
|
||||
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoreconf
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd pkg-config-0.25
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1998, 2001-2006 Red Hat Inc."
|
||||
Reference in New Issue
Block a user