ports/185920: [PATCH] devel/libsoup: disable g-ir-scanner cache
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jan 20 14:10:06 UTC 2014
>Number: 185920
>Category: ports
>Synopsis: [PATCH] devel/libsoup: disable g-ir-scanner cache
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 20 14:10:05 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Use new LIB_DEPENDS syntax
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- libsoup-2.40.3_2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 340395)
+++ Makefile (working copy)
@@ -14,7 +14,7 @@
BUILD_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking \
python2:${PORTSDIR}/lang/python2
-LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking
USE_XZ= yes
@@ -30,13 +30,14 @@
CONFIGURE_ARGS= --disable-more-warnings
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes
PLIST_SUB= VERSION="2.4"
.if defined(SOUP_SLAVE)
USE_SQLITE= yes
-LIB_DEPENDS+= soup-2.4:${PORTSDIR}/devel/libsoup \
- gnome-keyring:${PORTSDIR}/security/libgnome-keyring
+LIB_DEPENDS+= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
+ libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
CONFIGURE_ARGS+=--with-gnome
.else
BUILD_DEPENDS+= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
--- libsoup-2.40.3_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list