Explicitely patch for DATADIRNAME; the hack from the gnome MODULE will

be removed soon.

thanks to jasper@ for all the boring bulk break reports...
This commit is contained in:
ajacoutot 2012-09-09 17:48:02 +00:00
parent bd23252961
commit f68b543b69
2 changed files with 20 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.19 2012/05/15 11:23:37 jasper Exp $
# $OpenBSD: Makefile,v 1.20 2012/09/09 17:48:02 ajacoutot Exp $
COMMENT= text widget that extends the GTK3 GtkTextView widget
GNOME_PROJECT= gtksourceview
GNOME_VERSION= 3.4.2
PKGNAME= ${GNOME_PROJECT}3-${GNOME_VERSION}
REVISION= 0
SHARED_LIBS += gtksourceview-3.0 0.0 # .0.0
CATEGORIES= x11
@ -28,8 +29,8 @@ WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo cairo-gobject
WANTLIB += drm expat ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread-stubs stdc++ xcb xcb-render xcb-shm
WANTLIB += xml2 z
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ xcb xcb-render
WANTLIB += xcb-shm xml2 z
MODULES= devel/gettext \
x11/gnome

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-configure,v 1.1 2012/09/09 17:48:03 ajacoutot Exp $
Fix DATADIRNAME: see LOCALBASE/share/aclocal/glib-gettext.m4
--- configure.orig Mon May 14 22:44:07 2012
+++ configure Sun Sep 9 19:43:26 2012
@@ -12863,6 +12863,9 @@ else
fi
;;
+ *-*-openbsd*)
+ DATADIRNAME=share
+ ;;
*)
DATADIRNAME=lib
;;