pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/mumble mumble: Add -lrt on NetBSD, pending furthe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f5818857102
branches:  trunk
changeset: 401750:1f5818857102
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Sep 25 00:58:19 2019 +0000

description:
mumble: Add -lrt on NetBSD, pending further investigation

diffstat:

 chat/mumble/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r d371d2da73a5 -r 1f5818857102 chat/mumble/Makefile
--- a/chat/mumble/Makefile      Tue Sep 24 17:33:50 2019 +0000
+++ b/chat/mumble/Makefile      Wed Sep 25 00:58:19 2019 +0000
@@ -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 @@
 # 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 @@
 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 \



Home | Main Index | Thread Index | Old Index