Subject: Re: sysutils/xosview requires GNU make
To: None <pkgsrc-users@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 09/29/2007 13:14:40
--=-=-=

> On Sat, Sep 29, 2007 at 12:44:05PM +0300, Aleksey Cheusov wrote:
 >> 
 >>  >> > OPSYS is Linux?
 >>  >> I'm not sure that future versions of xosview will not use gmake also for
 >>  >> BSDs. IMHO it is better to not use OPSYS here.
 >> 
 >> > I'm against using gmake for now on BSDs, so this patch is not acceptable.
 >> 
 >> Ok. If you are pkgsrc commiter, I'm sure you can create a patch
 >> consisting of exactly tree lines itself instead of requesting
 >> me to do this. Please, do this.

> I can do it, but I have NO way to test it on Linux. Thats why I was asking
> about the OPSYS.
> Otherwise I can see what needs to be added to not build it on linux.

This works


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=xosview_gmake.patch
Content-Description: patch for Linux

? README.html
? xosview_gmake.patch
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/xosview/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile	9 Apr 2007 21:22:11 -0000	1.63
+++ Makefile	29 Sep 2007 10:12:46 -0000
@@ -34,6 +34,8 @@
 USE_TOOLS+=	gmake
 CPPFLAGS+=	-I${X11BASE:Q}/include
 LIBS+=		-lsocket -lnsl
+.elif ${OPSYS} == "Linux"
+USE_TOOLS+=	gmake
 .endif
 
 SUBST_CLASSES+=		paths

--=-=-=


-- 
Best regards, Aleksey Cheusov.

--=-=-=--