pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/xosview requires GNU make



> 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

? 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.


Home | Main Index | Thread Index | Old Index