pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xflame nanosleep needs -lrt on Solaris. From Gille...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa0497f624d3
branches:  trunk
changeset: 523547:fa0497f624d3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 09 10:16:19 2007 +0000

description:
nanosleep needs -lrt on Solaris. From Gilles Dauphin.

diffstat:

 x11/xflame/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 3baeb194e00c -r fa0497f624d3 x11/xflame/Makefile
--- a/x11/xflame/Makefile       Tue Jan 09 09:53:42 2007 +0000
+++ b/x11/xflame/Makefile       Tue Jan 09 10:16:19 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/12/27 13:37:45 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2007/01/09 10:16:19 joerg Exp $
 #
 
 DISTNAME=      xflame-1.1.1
@@ -11,6 +11,12 @@
 
 USE_IMAKE=     yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_FLAGS+=   EXTRA_LOAD_FLAGS=-lrt
+.endif
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index