pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/kiax Always set RT_LIB_SCHED=-lrt on SunOS. Now it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce56a35e40fe
branches:  trunk
changeset: 602425:ce56a35e40fe
user:      hans <hans%pkgsrc.org@localhost>
date:      Fri Apr 13 22:59:16 2012 +0000

description:
Always set RT_LIB_SCHED=-lrt on SunOS. Now it builds but then breaks on
some destdir issue.

diffstat:

 net/kiax/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r fdee54de84db -r ce56a35e40fe net/kiax/Makefile
--- a/net/kiax/Makefile Fri Apr 13 22:52:53 2012 +0000
+++ b/net/kiax/Makefile Fri Apr 13 22:59:16 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/11/01 06:02:19 sbd Exp $
+# $NetBSD: Makefile,v 1.20 2012/04/13 22:59:16 hans Exp $
 
 DISTNAME=      kiax-0.8.51-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -36,7 +36,8 @@
 SUBST_SED.path=                -e 's:/usr/local:${PREFIX}:g'
 
 .include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) || \
+    ${OPSYS} == "SunOS"
 RT_LIB_SCHED=          -lrt
 .else
 RT_LIB_SCHED=          # empty



Home | Main Index | Thread Index | Old Index