diff --git a/dev-util/pkgconfig/patches/pkgconfig-0.25.patch b/dev-util/pkgconfig/patches/pkgconfig-0.25.patch new file mode 100644 index 000000000..bcab49f82 --- /dev/null +++ b/dev-util/pkgconfig/patches/pkgconfig-0.25.patch @@ -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); + } diff --git a/dev-util/pkgconfig/pkgconfig-0.25.bep b/dev-util/pkgconfig/pkgconfig-0.25.bep new file mode 100644 index 000000000..547651da0 --- /dev/null +++ b/dev-util/pkgconfig/pkgconfig-0.25.bep @@ -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."