summaryrefslogtreecommitdiff
path: root/x11/wmweather/Makefile
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-27 13:41:25 +0000
committerbouyer <bouyer>2002-10-27 13:41:25 +0000
commit83ac70ca0b5178d23460943fac2181b8a1d41afb (patch)
tree9fe3ddcc1256a62015f57267e9af38ea124c3763 /x11/wmweather/Makefile
parent699c2dd168a1d97403aa852e5ad99cbfe4382f68 (diff)
downloadpkgsrc-83ac70ca0b5178d23460943fac2181b8a1d41afb.tar.gz
Need -lsocket on Solaris
Diffstat (limited to 'x11/wmweather/Makefile')
-rw-r--r--x11/wmweather/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/wmweather/Makefile b/x11/wmweather/Makefile
index 4f1f4def02d..f94f8e7c68c 100644
--- a/x11/wmweather/Makefile
+++ b/x11/wmweather/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/08/25 21:52:50 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/27 13:41:25 bouyer Exp $
#
DISTNAME= wmWeather-1.31
@@ -14,6 +14,14 @@ USE_BUILDLINK2= # defined
USE_X11BASE= # defined
REPLACE_PERL= GrabWeather
+MAKE_FLAGS+= EXTRA_LOCAL_LIBS=${EXTRA_LOCAL_LIBS}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+EXTRA_LOCAL_LIBS= -lsocket
+.endif
+
.include "../../graphics/xpm/buildlink2.mk"
.include "../../lang/perl5/buildlink2.mk"