diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-10-27 13:40:30 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-10-27 13:40:30 +0000 |
commit | a23b1b2b8b49e3cf16c60465fe8715204e895ae9 (patch) | |
tree | eb7a8eda887aef87b8f7e574343c91e16c8da5a7 /time/wmmoonclock | |
parent | 69691992261c6495d00cfb7d2a9fe14cdfd51972 (diff) | |
download | pkgsrc-a23b1b2b8b49e3cf16c60465fe8715204e895ae9.tar.gz |
Need -lsocket on solaris
Diffstat (limited to 'time/wmmoonclock')
-rw-r--r-- | time/wmmoonclock/Makefile | 10 | ||||
-rw-r--r-- | time/wmmoonclock/distinfo | 4 | ||||
-rw-r--r-- | time/wmmoonclock/patches/patch-aa | 12 |
3 files changed, 19 insertions, 7 deletions
diff --git a/time/wmmoonclock/Makefile b/time/wmmoonclock/Makefile index 51a7434c36d..b7b2789ee02 100644 --- a/time/wmmoonclock/Makefile +++ b/time/wmmoonclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/10/21 13:05:01 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2002/10/27 13:40:30 bouyer Exp $ # DISTNAME= wmMoonClock-1.27 @@ -14,5 +14,13 @@ USE_GMAKE= YES USE_X11BASE= YES WRKSRC= ${WRKDIR}/${DISTNAME}/Src +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 "../../mk/bsd.pkg.mk" diff --git a/time/wmmoonclock/distinfo b/time/wmmoonclock/distinfo index 970707068d9..358028a909d 100644 --- a/time/wmmoonclock/distinfo +++ b/time/wmmoonclock/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2001/10/12 20:44:51 tron Exp $ +$NetBSD: distinfo,v 1.4 2002/10/27 13:40:30 bouyer Exp $ SHA1 (wmMoonClock-1.27.tar.gz) = bbc27a11ff99505fe4b872019f214f305cee6c5b Size (wmMoonClock-1.27.tar.gz) = 155197 bytes -SHA1 (patch-aa) = ebec99603ef1590e4d42978bf759680ebf3aca70 +SHA1 (patch-aa) = 6b9d2459c7b92bee200c06f543a85ce429b8cd7b diff --git a/time/wmmoonclock/patches/patch-aa b/time/wmmoonclock/patches/patch-aa index d8a25b8e330..ac43a5c47eb 100644 --- a/time/wmmoonclock/patches/patch-aa +++ b/time/wmmoonclock/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2001/10/12 20:44:52 tron Exp $ +$NetBSD: patch-aa,v 1.3 2002/10/27 13:40:30 bouyer Exp $ --- Makefile.orig Tue Mar 23 03:20:32 1999 -+++ Makefile Fri Oct 12 22:41:34 2001 -@@ -1,8 +1,8 @@ ++++ Makefile Thu Oct 17 00:31:50 2002 +@@ -1,11 +1,11 @@ CC = gcc CFLAGS = -O2 -INCDIR = -I/usr/X11R6/include/X11 @@ -13,7 +13,11 @@ $NetBSD: patch-aa,v 1.2 2001/10/12 20:44:52 tron Exp $ +LIBDIR = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib # for Linux - LIBS = -lXpm -lX11 -lXext +-LIBS = -lXpm -lX11 -lXext ++LIBS = -lXpm -lX11 -lXext ${EXTRA_LOCAL_LIBS} + + # for Solaris + # LIBS = -lXpm -lX11 -lXext -lsocket @@ -31,6 +31,5 @@ rm -f wmMoonClock |