Date: Thu, 15 Dec 2005 21:15:28 +0100 From: Melvyn Sopacua <freebsd.ports@melvyn.homeunix.org> To: FreeBSD Ports <ports@freebsd.org> Subject: Re: need help from a C programmer Message-ID: <200512152115.28786.freebsd.ports@melvyn.homeunix.org> In-Reply-To: <20051215191038.GH49639@iib.unsam.edu.ar> References: <20051215191038.GH49639@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 December 2005 20:10, Fernan Aguero wrote: > My draft port is here > http://genoma.unsam.edu.ar/~fernan/freebsd/blat/blat.shar.gz Not getting past: gmake[1]: Leaving directory `/usr/ports/biology/blat/work/blatSrc/jkOwnLib' cd blat && gmake gmake[1]: Entering directory `/usr/ports/biology/blat/work/blatSrc/blat' cc -O -O2 -fno-strict-aliasing -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_ -I../inc -I../../inc -I../../../inc -I../../../../inc -c blat.c gmake[1]: *** No rule to make target `../lib//jkweb.a', needed by `blat'. Stop. gmake[1]: Leaving directory `/usr/ports/biology/blat/work/blatSrc/blat' Fix for the Makefile: --- /tmp/blat/Makefile Thu Dec 15 21:00:05 2005 +++ Makefile Thu Dec 15 20:59:01 2005 @@ -20,6 +20,9 @@ USE_GCC= 3.4+ MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME}Src +_MACHTYPE!= uname -m +MACHTYPE?= ${_MACHTYPE} +MAKE_ENV+= MACHTYPE=${MACHTYPE} post-patch: @${MKDIR} ${WRKSRC}/bin/${MACHTYPE} As for the error, there's some redefining going on in common.h, and probably screwing up some macros in the end. # cat files/patch-hg-pslPretty-pslPretty.c --- hg/pslPretty/pslPretty.c.orig Fri Mar 26 02:03:59 2004 +++ hg/pslPretty/pslPretty.c Thu Dec 15 21:09:52 2005 @@ -686,7 +686,7 @@ if (--dotMod <= 0) { printf("."); - fflush(stdout); + fflush(uglyOut); dotMod = dot; } } -- Melvyn Sopacua freebsd.ports@melvyn.homeunix.org FreeBSD 6.0-STABLE Qt: 3.3.5 KDE: 3.4.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512152115.28786.freebsd.ports>