link gimp with -pthread so it can dlopen threaded shlibs. fixes gimp when

used under gnome. From Mikolaj Kucharski <eth0 at o2.pl>
This commit is contained in:
kurt 2006-09-26 21:36:39 +00:00
parent 94ab798fc0
commit 0acace2f2d
2 changed files with 14 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2006/09/18 11:50:40 espie Exp $
# $OpenBSD: Makefile,v 1.19 2006/09/26 21:36:39 kurt Exp $
COMMENT= "GNU Image Manipulation Program"
DISTNAME= gimp-2.2.12
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gimp-2.0 200.12 \
gimpbase-2.0 200.12 \
gimpcolor-2.0 200.12 \
@ -42,7 +43,7 @@ WANTLIB= ICE SM X11 Xext Xmu Xpm Xrender Xt atk-1.0 c \
fontconfig freetype glib-2.0 gmodule-2.0 \
gobject-2.0 jpeg.>=62 lcms.>=1 m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 png.>=4 \
ncurses xml2 z cairo glitz
pthread ncurses xml2 z cairo glitz
MODULES= devel/gettext

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-app_Makefile_in,v 1.1 2006/09/26 21:36:39 kurt Exp $
--- app/Makefile.in.orig Sun Sep 3 19:45:11 2006
+++ app/Makefile.in Sun Sep 3 19:46:53 2006
@@ -554,6 +554,7 @@ INCLUDES = \
gimp_2_2_LDFLAGS = $(mwindows)
gimp_2_2_LDADD = \
+ -pthread \
gui/libappgui.a \
actions/libappactions.a \
dialogs/libappdialogs.a \