pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/42854: net/libsoup24 without gnome stuff.
The following reply was made to PR pkg/42854; it has been noted by GNATS.
From: Demelier David <demelier.david%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: demelier.david%gmail.com@localhost
Subject: Re: pkg/42854: net/libsoup24 without gnome stuff.
Date: Sat, 20 Feb 2010 22:13:17 +0100
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I'm sorry I missed the patch, there is a new patch attached below.
King regards.
--
Demelier David
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libsoup24.patch"
--- Makefile.orig 2010-02-20 22:06:49.000000000 +0100
+++ Makefile 2010-02-20 22:07:35.000000000 +0100
@@ -18,18 +18,16 @@
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in
-PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
TEST_TARGET= check
+.include "options.mk"
+
.include "../../databases/sqlite3/buildlink3.mk"
-.include "../../devel/GConf/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.21.3
.include "../../devel/glib2/buildlink3.mk"
-.include "../../security/gnome-keyring/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=2.1.7
.include "../../security/gnutls/buildlink3.mk"
-.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/libproxy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--- PLIST.orig 2010-02-20 22:04:15.000000000 +0100
+++ PLIST 2010-02-20 22:06:04.000000000 +0100
@@ -36,13 +36,13 @@
include/libsoup-2.4/libsoup/soup-value-utils.h
include/libsoup-2.4/libsoup/soup-xmlrpc.h
include/libsoup-2.4/libsoup/soup.h
-include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h
-include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h
-include/libsoup-gnome-2.4/libsoup/soup-gnome.h
+${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h
+${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h
+${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-gnome.h
lib/libsoup-2.4.la
-lib/libsoup-gnome-2.4.la
+${PLIST.gnome}lib/libsoup-gnome-2.4.la
lib/pkgconfig/libsoup-2.4.pc
-lib/pkgconfig/libsoup-gnome-2.4.pc
+${PLIST.gnome}lib/pkgconfig/libsoup-gnome-2.4.pc
share/gtk-doc/html/libsoup-2.4/SoupAddress.html
share/gtk-doc/html/libsoup-2.4/SoupAuth.html
share/gtk-doc/html/libsoup-2.4/SoupAuthDomain.html
--- /dev/null 2010-02-20 22:08:08.000000000 +0100
+++ options.mk 2010-02-20 22:06:04.000000000 +0100
@@ -0,0 +1,20 @@
+PKG_OPTIONS_VAR= PKG_OPTIONS.libsoup
+PKG_SUPPORTED_OPTIONS= gnome doc
+PKG_SUGGESTED_OPTIONS= gnome
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gnome
+
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../security/gnome-keyring/buildlink3.mk"
+PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
+PLIST.gnome= yes
+.else
+CONFIGURE_ARGS+= --without-gnome
+.endif
+
+.if !empty(PKG_OPTIONS:Mdoc)
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.endif
--EVF5PPMfhYS0aIcm--
Home |
Main Index |
Thread Index |
Old Index