openbsd-ports/devel/gobject-introspection/patches/patch-configure
2011-09-30 18:12:27 +00:00

30 lines
952 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2011/09/30 18:12:27 jasper Exp $
From 25a19e13af0c716fde6d35fb0531aeceedb9a9f8 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Fri, 30 Sep 2011 06:59:12 +0000
Subject: Adjust dlopened library name on OpenBSD so we always pick the right one.
--- configure.orig Tue Sep 20 23:52:38 2011
+++ configure Tue Sep 20 23:53:26 2011
@@ -12940,6 +12940,9 @@ if test x$have_cairo_gobject = xyes; then
*-*-mingw*)
CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
;;
+ *-*-openbsd*)
+ CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
+ ;;
*)
CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
;;
@@ -12952,6 +12955,9 @@ elif test x$have_cairo = xyes; then
;;
*-*-mingw*)
CAIRO_SHARED_LIBRARY="libcairo-2.dll"
+ ;;
+ *-*-openbsd*)
+ CAIRO_SHARED_LIBRARY="libcairo.so"
;;
*)
CAIRO_SHARED_LIBRARY="libcairo.so.2"