From 8338903c016116af9287329648f82a6e02a9c108 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 9 Jan 2007 10:16:19 +0000 Subject: nanosleep needs -lrt on Solaris. From Gilles Dauphin. --- x11/xflame/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x11/xflame/Makefile b/x11/xflame/Makefile index 8b1fc18b6e9..56e62ad1268 100644 --- a/x11/xflame/Makefile +++ b/x11/xflame/Makefile @@ -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 @@ COMMENT= Draws a flame on the screen 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" -- cgit v1.2.3