aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-settings
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2015-11-15 21:25:38 +0800
committerbland <bland@FreeBSD.org>2015-11-15 21:25:38 +0800
commitf51a847ab1cb4b5072cea23cf3633b09793f3fe5 (patch)
tree218244d32a2c6dd4bf1e0dff679aa5e4fc2a9492 /x11/nvidia-settings
parentd3849f0ba9c5f4715e1dfdec2638e5b02c16c35c (diff)
downloadfreebsd-ports-gnome-f51a847ab1cb4b5072cea23cf3633b09793f3fe5.tar.gz
freebsd-ports-gnome-f51a847ab1cb4b5072cea23cf3633b09793f3fe5.tar.zst
freebsd-ports-gnome-f51a847ab1cb4b5072cea23cf3633b09793f3fe5.zip
Fixup issue with implicit pthread linkage.
Still curious to understand why it is needed at the first place as libgthread supposed to pull the dependency. PR: 203372
Diffstat (limited to 'x11/nvidia-settings')
-rw-r--r--x11/nvidia-settings/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile
index 62d74774a437..d64748be2054 100644
--- a/x11/nvidia-settings/Makefile
+++ b/x11/nvidia-settings/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nvidia-settings
PORTVERSION= 355.11
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= bland@FreeBSD.org
@@ -26,7 +27,7 @@ PLIST_FILES= bin/nvidia-settings \
man/man1/nvidia-settings.1.gz \
lib/libnvidia-gtk2.so.${PORTVERSION}
-LDFLAGS+= -Wl,--as-needed
+LDFLAGS+= -pthread
MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE= \
STRIP_CMD=${TRUE} \