aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2018-10-14 04:24:52 +0800
committerkwm <kwm@FreeBSD.org>2018-10-14 04:24:52 +0800
commit01bcb3b21aa503043304329be374c7dfbcb718cd (patch)
treec6642a9fd95ef280a7b533fb5a754e96e3421f77 /x11
parent33da0f8c776751d6c31dbe7d7e31856396fdd72c (diff)
downloadfreebsd-ports-gnome-01bcb3b21aa503043304329be374c7dfbcb718cd.tar.gz
freebsd-ports-gnome-01bcb3b21aa503043304329be374c7dfbcb718cd.tar.zst
freebsd-ports-gnome-01bcb3b21aa503043304329be374c7dfbcb718cd.zip
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@gmail.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/brisk-menu/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/brisk-menu/Makefile b/x11/brisk-menu/Makefile
index 3024990c155d..c4a29ec4604d 100644
--- a/x11/brisk-menu/Makefile
+++ b/x11/brisk-menu/Makefile
@@ -4,6 +4,7 @@
PORTNAME= brisk-menu
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= ericbsd@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>