Only link with libexecinfo where it's needed.

This commit is contained in:
ajacoutot 2011-05-06 15:05:48 +00:00
parent 50c7e4b2d4
commit e5840bb128
2 changed files with 14 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.144 2011/05/06 11:27:51 jasper Exp $
# $OpenBSD: Makefile,v 1.145 2011/05/06 15:05:48 ajacoutot Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 2.32.1
REVISION= 9
REVISION= 10
CATEGORIES= x11
@ -54,7 +54,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-rebuilds \
--with-gtk=2.0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-gnome-session_Makefile_in,v 1.3 2011/05/06 15:05:48 ajacoutot Exp $
--- gnome-session/Makefile.in.orig Fri May 6 16:27:58 2011
+++ gnome-session/Makefile.in Fri May 6 16:28:12 2011
@@ -372,6 +372,7 @@ gnome_session_CPPFLAGS = \
gnome_session_LDADD = \
libgsmutil.la \
+ -lexecinfo \
$(top_builddir)/egg/libeggdesktopfile.la \
$(SM_LIBS) \
$(ICE_LIBS) \