summaryrefslogtreecommitdiff
path: root/chat/mumble
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-25 00:58:19 +0000
committernia <nia@pkgsrc.org>2019-09-25 00:58:19 +0000
commit8c4cb39d4dc6aa0e8038fb712677daedf8321b70 (patch)
tree7be7e6e1c5a545c008fa69dc0a9069b7fb8ff93e /chat/mumble
parent14d5c44d3a9dd86110cfd09c5d8bffe56ed2f723 (diff)
downloadpkgsrc-8c4cb39d4dc6aa0e8038fb712677daedf8321b70.tar.gz
mumble: Add -lrt on NetBSD, pending further investigation
Diffstat (limited to 'chat/mumble')
-rw-r--r--chat/mumble/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/chat/mumble/Makefile b/chat/mumble/Makefile
index 51857cb5685..b7292c09fee 100644
--- a/chat/mumble/Makefile
+++ b/chat/mumble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2019/09/18 14:17:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.11 2019/09/25 00:58:19 nia Exp $
DISTNAME= mumble-1.3.0
PKGREVISION= 2
@@ -21,6 +21,8 @@ BUILD_TARGET= release
# C++11
GCC_REQD+= 4.8
+LDFLAGS.NetBSD+= -lrt
+
CONFIG_OPTIONS+= DEFINES+="PLUGIN_PATH=${PREFIX}/lib/mumble"
CONFIG_OPTIONS+= CONFIG+=c++11
@@ -61,7 +63,9 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1
do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake -unix -recursive main.pro \
${CONFIG_OPTIONS} ${MAKE_ENV} \
- QMAKE_CFLAGS=${CFLAGS:Q} QMAKE_CXXFLAGS=${CXXFLAGS:Q}
+ QMAKE_CFLAGS=${CFLAGS:Q} \
+ QMAKE_CXXFLAGS=${CXXFLAGS:Q} \
+ QMAKE_LFLAGS=${LDFLAGS:Q}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/mumble \