pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libupnp Needs -lrt on NetBSD-current



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f45a69facb9
branches:  trunk
changeset: 538289:7f45a69facb9
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Feb 04 21:52:16 2008 +0000

description:
Needs -lrt on NetBSD-current

diffstat:

 net/libupnp/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c42fe2f40d41 -r 7f45a69facb9 net/libupnp/Makefile
--- a/net/libupnp/Makefile      Mon Feb 04 20:41:40 2008 +0000
+++ b/net/libupnp/Makefile      Mon Feb 04 21:52:16 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/02/03 03:01:51 obache Exp $
+# $NetBSD: Makefile,v 1.12 2008/02/04 21:52:16 tnn Exp $
 #
 
 DISTNAME=              libupnp-1.6.5
@@ -25,5 +25,11 @@
 
 TEST_TARGET=           check
 
+.include "../../mk/bsd.prefs.mk"
 .include "../../mk/pthread.buildlink3.mk"
+
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
+PTHREAD_LIBS+=         -lrt
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index