ports/185917: [PATCH] x11/gnome-menus: disable g-ir-scanner cache, support staging
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jan 20 14:10:04 UTC 2014
>Number: 185917
>Category: ports
>Synopsis: [PATCH] x11/gnome-menus: 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:03 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
- Support staging
- Convert USE_GMAKE to USES
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:
--- gnome-menus-2.30.5.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 340395)
+++ Makefile (working copy)
@@ -15,16 +15,15 @@
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
USE_BZIP2= yes
-USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack
-USES= pkgconfig gettext
+USES= pkgconfig gettext gmake
USE_AUTOTOOLS= libtool
USE_PYTHON= 2
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|applications.menu||' \
${WRKSRC}/layout/Makefile.in
@@ -42,8 +41,8 @@
post-install:
@${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \
- ${PREFIX}/etc/xdg/menus/gnome-applications.menu
+ ${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu
@${INSTALL_DATA} ${WRKSRC}/KDE.directory \
- ${PREFIX}/share/desktop-directories
+ ${STAGEDIR}${PREFIX}/share/desktop-directories
.include <bsd.port.mk>
--- gnome-menus-2.30.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list