aboutsummaryrefslogtreecommitdiffstats
path: root/x11/qterminal
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-10-20 00:19:28 +0800
committermarino <marino@FreeBSD.org>2016-10-20 00:19:28 +0800
commitd12ec5978bef6a86fd893bd3f006bae19b368e63 (patch)
treeca1a0b15c874524ebf6f6cecc36ff2a5d94f8560 /x11/qterminal
parent81126e6db8839620d415159df55a6aafc854f3f6 (diff)
downloadfreebsd-ports-gnome-d12ec5978bef6a86fd893bd3f006bae19b368e63.tar.gz
freebsd-ports-gnome-d12ec5978bef6a86fd893bd3f006bae19b368e63.tar.zst
freebsd-ports-gnome-d12ec5978bef6a86fd893bd3f006bae19b368e63.zip
x11/qterminal: Adjust LDFLAGS to support DragonFly
The ulog library is FreeBSD-specific so make it conditional based on OPSYS to fix linking on DragonFly. Approved by: DF blanket
Diffstat (limited to 'x11/qterminal')
-rw-r--r--x11/qterminal/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/qterminal/Makefile b/x11/qterminal/Makefile
index a4bb3c8f9e0e..bb91a3c538ae 100644
--- a/x11/qterminal/Makefile
+++ b/x11/qterminal/Makefile
@@ -23,6 +23,10 @@ CMAKE_ARGS+= -DUSE_SYSTEM_QXT:BOOL=OFF -DUSE_QT5:BOOL=ON
USE_GITHUB= yes
GH_ACCOUNT= lxde
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD
LDFLAGS+= -lulog
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>