pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/xonclock Fix build on SunOS, link against -lm -lrt.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/238515a72327
branches:  trunk
changeset: 602431:238515a72327
user:      hans <hans%pkgsrc.org@localhost>
date:      Fri Apr 13 23:33:34 2012 +0000

description:
Fix build on SunOS, link against -lm -lrt.

diffstat:

 time/xonclock/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 702020ff67b4 -r 238515a72327 time/xonclock/Makefile
--- a/time/xonclock/Makefile    Fri Apr 13 23:29:10 2012 +0000
+++ b/time/xonclock/Makefile    Fri Apr 13 23:33:34 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/02/06 12:41:47 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2012/04/13 23:33:34 hans Exp $
 #
 
 DISTNAME=      xonclock-0.0.9.4
@@ -16,6 +16,7 @@
 GNU_CONFIGURE= yes
 
 LDFLAGS.DragonFly=     -lm
+LDFLAGS.SunOS+=                -lm -lrt
 
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index