diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-10-27 13:41:25 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-10-27 13:41:25 +0000 |
commit | b4c27413434435c9b9f76b7cbccb9949c3dc98ec (patch) | |
tree | 9fe3ddcc1256a62015f57267e9af38ea124c3763 | |
parent | a23b1b2b8b49e3cf16c60465fe8715204e895ae9 (diff) | |
download | pkgsrc-b4c27413434435c9b9f76b7cbccb9949c3dc98ec.tar.gz |
Need -lsocket on Solaris
-rw-r--r-- | x11/wmweather/Makefile | 10 | ||||
-rw-r--r-- | x11/wmweather/distinfo | 4 | ||||
-rw-r--r-- | x11/wmweather/patches/patch-aa | 5 |
3 files changed, 14 insertions, 5 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" diff --git a/x11/wmweather/distinfo b/x11/wmweather/distinfo index 21e08aa161a..78fb2ac9150 100644 --- a/x11/wmweather/distinfo +++ b/x11/wmweather/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2002/01/19 15:31:43 jlam Exp $ +$NetBSD: distinfo,v 1.5 2002/10/27 13:41:26 bouyer Exp $ SHA1 (wmWeather-1.31.tar.gz) = b03ac1ad93f9e942feca26cfad91c1ea0b92eeb9 Size (wmWeather-1.31.tar.gz) = 28639 bytes -SHA1 (patch-aa) = 3eb90b8133cc4a935c87b427d1c92dc3106bfafa +SHA1 (patch-aa) = aa534dfeea9040d5868eacdb899d92727899ee27 SHA1 (patch-ab) = 0421f488743d8416f9e061302c38e08e03aaadd6 SHA1 (patch-ac) = bd76256fa4479e3e9f3c2be2290debb36b941b72 diff --git a/x11/wmweather/patches/patch-aa b/x11/wmweather/patches/patch-aa index 9dc601c3d2e..d91611bf9ad 100644 --- a/x11/wmweather/patches/patch-aa +++ b/x11/wmweather/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2001/07/15 14:03:13 jlam Exp $ +$NetBSD: patch-aa,v 1.3 2002/10/27 13:41:26 bouyer Exp $ --- Makefile.orig Wed Mar 17 01:59:39 1999 +++ Makefile Tue May 2 13:20:57 2000 @@ -12,7 +12,8 @@ $NetBSD: patch-aa,v 1.2 2001/07/15 14:03:13 jlam Exp $ +DESTDIR= ${PREFIX} +LIBDIR = ${LDFLAGS} # for linux - LIBS = -lXpm -lX11 -lXext +-LIBS = -lXpm -lX11 -lXext ++LIBS = -lXpm -lX11 -lXext ${EXTRA_LOCAL_LIBS} # for Solaris @@ -10,16 +8,14 @@ OBJS = wmWeather.o \ |