handle vala 0.34

This commit is contained in:
jasper 2016-10-29 07:48:53 +00:00
parent 7bbd5c2c7d
commit 3c5399ac4c
3 changed files with 26 additions and 8 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.139 2016/07/08 16:50:35 sthen Exp $
# $OpenBSD: Makefile,v 1.140 2016/10/29 07:48:53 jasper Exp $
COMMENT= versatile IDE for GNOME
GNOME_PROJECT= anjuta
GNOME_VERSION= 3.20.0
REVISION= 1
REVISION= 2
SHARED_LIBS += anjuta-3 0.0 # 0.0
@ -32,8 +32,8 @@ WANTLIB += pthread-stubs sasl2 secret-1 serf-1 soup-2.4 sqlite3
WANTLIB += ssl stdc++ svn_client-1 svn_delta-1 svn_diff-1 svn_fs-1
WANTLIB += svn_fs_base-1 svn_fs_fs-1 svn_fs_util-1 svn_ra-1 svn_ra_local-1
WANTLIB += svn_ra_serf-1 svn_ra_svn-1 svn_repos-1 svn_subr-1 svn_wc-1
WANTLIB += util vala-0.32 vte-2.91 webkit2gtk-4.0 webp xcb xcb-dri2
WANTLIB += xcb-glx xcb-render xcb-shape xcb-shm xcb-xfixes xml2
WANTLIB += util vala-0.34 vte-2.91 webkit2gtk-4.0 webp xcb xcb-dri2
WANTLIB += xcb-glx xcb-render xcb-shm xcb-xfixes xml2
WANTLIB += epoxy gmp gnutls hogweed nettle notify p11-kit tasn1 xslt z
WANTLIB += hyphen idn iconv intl svn_fs_x-1

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-configure,v 1.11 2016/10/29 07:48:53 jasper Exp $
--- configure.orig Thu Oct 27 16:57:23 2016
+++ configure Thu Oct 27 16:57:51 2016
@@ -18136,6 +18136,14 @@ fi
test $ac_status = 0; }; then
valaver="-0.32"
fi
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libvala-0.34 \""; } >&5
+ ($PKG_CONFIG --exists --print-errors " libvala-0.34 ") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ valaver="-0.34"
+fi
if test "x$valaver" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.112 2016/04/28 14:29:50 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.113 2016/10/29 07:48:53 jasper Exp $
COMMENT-main= GNOME Data Access library
COMMENT-ldap= LDAP backend for libgda
@ -18,11 +18,11 @@ PKGNAME-mysql= libgda-mysql-${GNOME_VERSION}
PKGNAME-pgsql= libgda-pgsql-${GNOME_VERSION}
PKGNAME-ui= libgda-ui-${GNOME_VERSION}
REVISION-main= 5
REVISION-main= 6
REVISION-ldap= 1
REVISION-mysql= 1
REVISION-pgsql= 1
REVISION-ui= 1
REVISION-ui= 2
EPOCH-main= 2
EPOCH-ldap= 0
@ -85,7 +85,7 @@ CONFIGURE_ARGS= --enable-system-sqlite \
--with-postgres="${LOCALBASE}"
# XXX sync with API_V in lang/vala
CONFIGURE_ENV += VALA_API_VERSION=0.32
CONFIGURE_ENV += VALA_API_VERSION=0.34
FAKE_FLAGS= configdir="${PREFIX}/share/examples/libgda"