svn commit: r482009 - head/x11/brisk-menu

Koop Mast kwm at FreeBSD.org
Sat Oct 13 20:24:53 UTC 2018


Author: kwm
Date: Sat Oct 13 20:24:52 2018
New Revision: 482009
URL: https://svnweb.freebsd.org/changeset/ports/482009

Log:
  Resolve some problems that where exposed by the meson 0.48.0 exp-run.
  
  * Drop NO_ARCH, libexec/brisk-menu is a native ELF executable.
  * List USE_MATE=menus because brisk-menu depends on it directly.
  
  Use either /usr/bin/ld.lld or the ld from the binutils port. To work around a
  issue with /usr/bin/ld.bdf reporting errors for symbols that exist in shared
  libraries specified on the command line. It is unknown why this is happening.
  
  PR:		231219
  Submitted by:	Ting-Wei Lan <lantw44 at gmail.com>

Modified:
  head/x11/brisk-menu/Makefile

Modified: head/x11/brisk-menu/Makefile
==============================================================================
--- head/x11/brisk-menu/Makefile	Sat Oct 13 20:15:44 2018	(r482008)
+++ head/x11/brisk-menu/Makefile	Sat Oct 13 20:24:52 2018	(r482009)
@@ -4,6 +4,7 @@
 PORTNAME=	brisk-menu
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.5.1
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	ericbsd at FreeBSD.org
@@ -20,9 +21,15 @@ MESON_ARGS=	--sysconfdir=${PREFIX}/etc
 USE_GITHUB=	yes
 GH_ACCOUNT=	GhostBSD
 
-NO_ARCH=	yes
 USE_GNOME=	gtk30
-USE_MATE= 	panel:lib
+USE_MATE=	menus panel
 GLIB_SCHEMAS=	com.solus-project.brisk-menu.gschema.xml
+
+.if exists(/usr/bin/ld.lld)
+LDFLAGS+=	-fuse-ld=lld
+.else
+USE_BINUTILS=	yes
+LDFLAGS+=	-B${LOCALBASE}/bin
+.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list