Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 224117 Details for
Bug 310093
New package: sys-libs/libnih
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to remove dependency on dbus
optional-dbus.patch (text/plain), 1.41 KB, created by
Bruno 'brubru' Tarquini
on 2010-03-18 14:28:44 UTC
(
hide
)
Description:
patch to remove dependency on dbus
Filename:
MIME Type:
Creator:
Bruno 'brubru' Tarquini
Created:
2010-03-18 14:28:44 UTC
Size:
1.41 KB
patch
obsolete
>diff -Naur libnih-1.0.1.orig/configure.ac libnih-1.0.1/configure.ac >--- libnih-1.0.1.orig/configure.ac 2010-02-03 20:51:49.000000000 +0100 >+++ libnih-1.0.1/configure.ac 2010-03-02 13:36:14.000000000 +0100 >@@ -23,12 +23,21 @@ > PKG_PROG_PKG_CONFIG([0.22]) > > # Checks for libraries. >-PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16]) >-AC_CHECK_LIB([expat], [XML_ParserCreate], >+AC_ARG_WITH([dbus], >+ [AS_HELP_STRING([--without-dbus], >+ [disable support for dbus])], >+ [], >+ [with_dbus=yes]) >+ >+AS_IF([test "x$with_dbus" != xno], >+ PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16]) >+ AC_CHECK_LIB([expat], [XML_ParserCreate], > [AC_CHECK_LIB([expat], [XML_StopParser], > [AC_SUBST([EXPAT_LIBS], [-lexpat])], > [AC_MSG_ERROR([expat >= 2.0.0 required])])], >- [AC_MSG_ERROR([expat library not found])]) >+ [AC_MSG_ERROR([expat library not found])])) >+ >+AM_CONDITIONAL([DBUS_SUPPORT], [test "x$with_dbus" != xno]) > > # Checks for header files. > AC_CHECK_HEADERS([valgrind/valgrind.h]) >diff -Naur libnih-1.0.1.orig/Makefile.am libnih-1.0.1/Makefile.am >--- libnih-1.0.1.orig/Makefile.am 2009-11-21 20:18:01.000000000 +0100 >+++ libnih-1.0.1/Makefile.am 2010-03-02 13:36:20.000000000 +0100 >@@ -1,6 +1,9 @@ > ## Process this file with automake to produce Makefile.in > >-SUBDIRS = m4 intl nih nih-dbus nih-dbus-tool po >+SUBDIRS = m4 intl nih po >+if DBUS_SUPPORT >+SUBDIRS += nih-dbus nih-dbus-tool >+endif > > EXTRA_DIST = HACKING >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310093
:
224115
| 224117 |
246679