public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/seed/files: seed-fix-gnome-js-common-circular-dep.patch
@ 2010-06-29  8:27 Nirbheek Chauhan (nirbheek)
  0 siblings, 0 replies; only message in thread
From: Nirbheek Chauhan (nirbheek) @ 2010-06-29  8:27 UTC (permalink / raw
  To: gentoo-commits

nirbheek    10/06/29 08:27:36

  Added:                seed-fix-gnome-js-common-circular-dep.patch
  Log:
  Add new ebuild for dev-libs/seed, needed by gnome-games. Masked for now till the issues mentioned in the ebuild are fixed
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.1                  dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch?rev=1.1&content-type=text/plain

Index: seed-fix-gnome-js-common-circular-dep.patch
===================================================================
Seed depends on gnome-js-common (build-time), and gnome-js-common[seed] depends
on seed (build-time). The gnome-js-common build-time dep is purely to find out
the gnome-js-common module directory and append to the search path of the
Seed.js extension. However, that's a runtime dep...

---
--- configure.ac
+++ configure.ac
@@ -89,8 +89,13 @@
 AC_SUBST(GOBJECT_INTROSPECTION_LDFLAGS)
 
 dnl ========================GNOME-js common====================================
-PKG_CHECK_MODULES(GNOME_JS, gnome-js-common)
-GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common`
+PKG_CHECK_MODULES(GNOME_JS, gnome-js-common, have_gnome_js=yes, have_gnome_js=no)
+if test x"$have_gnome_js" = x"yes"; then
+	GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common`
+else
+	dnl If we don't have it installed, avoid circular build dependency
+	GNOME_JS_DIR="$libdir/gnome-js"
+fi
 AC_SUBST(GNOME_JS_DIR)
 
 dnl =============================Modules=======================================






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-29  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29  8:27 [gentoo-commits] gentoo-x86 commit in dev-libs/seed/files: seed-fix-gnome-js-common-circular-dep.patch Nirbheek Chauhan (nirbheek)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox