From f68b543b69d3e4e3977ba03bf64d9a27648d1b32 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 9 Sep 2012 17:48:02 +0000 Subject: [PATCH] Explicitely patch for DATADIRNAME; the hack from the gnome MODULE will be removed soon. thanks to jasper@ for all the boring bulk break reports... --- x11/gtksourceview3/Makefile | 7 ++++--- x11/gtksourceview3/patches/patch-configure | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 x11/gtksourceview3/patches/patch-configure diff --git a/x11/gtksourceview3/Makefile b/x11/gtksourceview3/Makefile index 801dd527696..ed23141e028 100644 --- a/x11/gtksourceview3/Makefile +++ b/x11/gtksourceview3/Makefile @@ -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 diff --git a/x11/gtksourceview3/patches/patch-configure b/x11/gtksourceview3/patches/patch-configure new file mode 100644 index 00000000000..3e5c9bbc669 --- /dev/null +++ b/x11/gtksourceview3/patches/patch-configure @@ -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 + ;;