ports/185914: [PATCH] x11-toolkits/libunique: disable g-ir-scanner cache, support staging
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jan 20 14:10:02 UTC 2014
>Number: 185914
>Category: ports
>Synopsis: [PATCH] x11-toolkits/libunique: disable g-ir-scanner cache, support staging
>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:01 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
- Support staging
Port maintainer (kwm at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- libunique-3.0.2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 340395)
+++ Makefile (working copy)
@@ -10,7 +10,7 @@
COMMENT= Library for single instance applications
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
LATEST_LINK= libunique3
USE_XORG= ice x11
@@ -23,8 +23,8 @@
CONFIGURE_ARGS= --disable-maintainer-flags --enable-gtk-doc-html=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
-e 's|unique tests doc|unique tests|g' \
--- libunique-3.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list