openbsd-ports/textproc/gtkaml/patches/patch-configure_ac
2011-09-12 18:20:34 +00:00

23 lines
847 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.1 2011/09/12 18:20:34 jasper Exp $
Fix for vala-0.14 non-GDBus mode deprecated
From upstream svn rev 824.
--- configure.ac.orig Mon Sep 12 19:37:46 2011
+++ configure.ac Mon Sep 12 19:39:44 2011
@@ -42,8 +42,12 @@ PKG_CHECK_MODULES([LIBXML2], libxml-2.0)
AC_SUBST(LIBXML2_CFLAGS)
AC_SUBST(LIBXML2_LIBS)
-PKG_CHECK_MODULES(VALA, libvala-0.12,[VALA_PKG="libvala-0.12"],[PKG_CHECK_MODULES(VALA, vala-0.10, [VALA_PKG="vala-0.10"])])
-AM_CONDITIONAL([VALA_LATEST], [test $VALA_PKG = libvala-0.12])
+PKG_CHECK_MODULES(VALA, libvala-0.14, [VALA_PKG="libvala-0.14"],
+ [PKG_CHECK_MODULES(VALA, libvala-0.12, [VALA_PKG="libvala-0.12"],
+ [PKG_CHECK_MODULES(VALA, vala-0.10, [VALA_PKG="vala-0.10"])
+ ])
+])
+AM_CONDITIONAL([VALA_LATEST], [test $VALA_PKG = libvala-0.14])
AC_SUBST(VALA_PKG)
AC_SUBST(VALA_CFLAGS)