summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2007-01-09 10:16:19 +0000
committerjoerg <joerg>2007-01-09 10:16:19 +0000
commit8338903c016116af9287329648f82a6e02a9c108 (patch)
tree42b7dd0fe96342906b869a530d345097ebf408c6
parent79494dc0ae7bfbd6d5b7fe43ef421d68c70322e2 (diff)
downloadpkgsrc-8338903c016116af9287329648f82a6e02a9c108.tar.gz
nanosleep needs -lrt on Solaris. From Gilles Dauphin.
-rw-r--r--x11/xflame/Makefile8
1 files changed, 7 insertions, 1 deletions
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"