update liblrdf to 0.5.0, cope with raptor update

- from openbsd-wip and tweaks from me
This commit is contained in:
sthen 2012-11-12 13:35:33 +00:00
parent bb9ab5d7d6
commit 71048d91fe
4 changed files with 49 additions and 15 deletions

View File

@ -1,13 +1,15 @@
# $OpenBSD: Makefile,v 1.3 2011/03/14 09:15:34 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2012/11/12 13:35:33 sthen Exp $
COMMENT = light RDF manipulation with LADSPA plugin support
DISTNAME = liblrdf-0.4.0
REVISION = 0
DISTNAME = LRDF-0.5.0
PKGNAME = lib${DISTNAME:L}
SHARED_LIBS = lrdf 0.0 # 0.0
SHARED_LIBS = lrdf 1.0 # 0.0
CATEGORIES = textproc
HOMEPAGE = http://github.com/swh/LRDF/
MAINTAINER = Jacob Meuser <jakemsr@openbsd.org>
# GPLv2
@ -16,18 +18,29 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = crypto curl idn m raptor ssl xml2 xslt z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lrdf/}
WANTLIB = crypto curl idn m raptor2 ssl xml2 xslt yajl z
MASTER_SITES = http://spacehopper.org/mirrors/
MODULES = devel/gettext
BUILD_DEPENDS = audio/ladspa
LIB_DEPENDS = textproc/raptor
BUILD_DEPENDS = audio/ladspa \
devel/libtool \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
LIB_DEPENDS = devel/libyajl \
textproc/raptor
USE_LIBTOOL = yes
USE_LIBTOOL = Yes
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.11
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_DEPENDS = audio/swh-plugins
post-patch:
@cd ${WRKBUILD} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
MD5 (liblrdf-0.4.0.tar.gz) = MnpWdPZxxLNgxjU4ACJodw==
RMD160 (liblrdf-0.4.0.tar.gz) = LLNxyZVSrDBFty4geGSUV13tN9g=
SHA1 (liblrdf-0.4.0.tar.gz) = F85V9pK8Uu0SYFCRuZEGJV+WS18=
SHA256 (liblrdf-0.4.0.tar.gz) = lemOhroG7XOlVxy8/z7ojkgbQDtutyfp6xgocO/ZsgQ=
SIZE (liblrdf-0.4.0.tar.gz) = 336959
SHA256 (LRDF-0.5.0.tar.gz) = uoA6+Tb9U6izFlEENzLm1s7D0k+iTSy4wVBsLRZ14qI=
SIZE (LRDF-0.5.0.tar.gz) = 283069

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-autogen_sh,v 1.1 2012/11/12 13:35:33 sthen Exp $
--- autogen.sh.orig Thu Nov 8 23:02:30 2012
+++ autogen.sh Thu Nov 8 23:02:33 2012
@@ -32,6 +32,8 @@ autoconf || {
exit 1
}
+exit 0
+
echo "Running ./configure --enable-maintainer-mode $@..."
./configure --enable-maintainer-mode $@

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lrdf_h,v 1.1 2012/11/12 13:35:33 sthen Exp $
--- lrdf.h.orig Tue Sep 6 13:12:47 2011
+++ lrdf.h Tue Sep 6 13:13:11 2011
@@ -5,7 +5,7 @@
extern "C" {
#endif
-#include <raptor.h>
+#include <raptor2/raptor2.h>
#include <string.h>
#include <sys/types.h>