diff --git a/dev-libs/uriparser/patches/uriparser-0.8.4.patchset b/dev-libs/uriparser/patches/uriparser-0.8.4.patchset new file mode 100644 index 000000000..d1990fb2d --- /dev/null +++ b/dev-libs/uriparser/patches/uriparser-0.8.4.patchset @@ -0,0 +1,22 @@ +From c219e6f70dc202058c8165f3aec152743040979c Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Mon, 20 Nov 2017 18:15:48 +0100 +Subject: needs libnetwork + + +diff --git a/Makefile.am b/Makefile.am +index 1a41102..15aba7a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -16,7 +16,7 @@ bin_PROGRAMS = uriparse + uriparse_SOURCES = tool/uriparse.c + + uriparse_CFLAGS = -Iinclude +-uriparse_LDADD = $(top_builddir)/liburiparser.la ++uriparse_LDADD = $(top_builddir)/liburiparser.la -lnetwork + uriparse_DEPENDENCIES = $(top_builddir)/liburiparser.la + + +-- +2.14.2 + diff --git a/dev-libs/uriparser/uriparser-0.7.9.recipe b/dev-libs/uriparser/uriparser-0.8.4.recipe similarity index 67% rename from dev-libs/uriparser/uriparser-0.7.9.recipe rename to dev-libs/uriparser/uriparser-0.8.4.recipe index 5bd30c84f..b587221c0 100644 --- a/dev-libs/uriparser/uriparser-0.7.9.recipe +++ b/dev-libs/uriparser/uriparser-0.8.4.recipe @@ -5,32 +5,34 @@ HOMEPAGE="http://uriparser.sourceforge.net/" COPYRIGHT="2007 Weijia Song 2007-2008 Sebastian Pipping" LICENSE="BSD (3-clause)" -REVISION="3" -SOURCE_URI="http://downloads.sourceforge.net/project/uriparser/Sources/0.7.9/uriparser-0.7.9.tar.bz2" -CHECKSUM_SHA256="a1d8f1007757ca1cf68b49edbac50876100cdee23a54cf1214f257b9ce51100d" +REVISION="1" +SOURCE_URI="http://downloads.sourceforge.net/project/uriparser/Sources/$portVersion/uriparser-$portVersion.tar.bz2" +CHECKSUM_SHA256="ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23" +PATCHES="uriparser-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" PROVIDES=" uriparser = $portVersion compat >= 0.7 - lib:liburiparser = 1.0.14 compat >= 1 + cmd:uriparse = $portVersion + lib:liburiparser = 1.0.20 compat >= 1 " REQUIRES=" haiku " PROVIDES_devel=" - devel:uriparser = 1.0.14 compat >= 1 - devel:liburiparser = 1.0.14 compat >= 1 + devel:uriparser = 1.0.20 compat >= 1 + devel:liburiparser = 1.0.20 compat >= 1 " REQUIRES_devel=" uriparser == $portVersion base " BUILD_REQUIRES=" + haiku_devel " BUILD_PREREQUIRES=" - haiku_devel cmd:gcc cmd:libtool cmd:aclocal @@ -45,7 +47,7 @@ BUILD() aclocal -I m4 autoconf automake --add-missing - runConfigure ./configure -disable-test --disable-doc + runConfigure ./configure --disable-test --disable-doc make $jobArgs } @@ -53,6 +55,8 @@ INSTALL() { make install + rm $libDir/liburiparser.la + prepareInstalledDevelLib liburiparser fixPkgconfig