Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 08:35:17 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        OKAZAKI Tetsurou <okazaki@be.to>
Cc:        asami@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: need help with ghostscript6 port, that doesn't build anymore
Message-ID:  <20000502083517.A2892@titan.klemm.gtn.com>
In-Reply-To: <86og6syfpe.wl@dolphin.be.to>; from okazaki@be.to on Sun, Apr 30, 2000 at 02:33:49AM %2B0900
References:  <20000424182620.A88549@titan.klemm.gtn.com> <vqcg0s5qmqw.fsf@silvia.hip.berkeley.edu> <20000429155850.B9738@titan.klemm.gtn.com> <86og6syfpe.wl@dolphin.be.to>

next in thread | previous in thread | raw e-mail | index | archive | help
I need help,

sorry, I'm shortly before holiday and have to drive to the airport now.
I didn't get it managed, because I had to coordinate activities for
apsfilter developement.

Would be very kind from you if you could do the necessary changes.
I will be away for 3 weeks.

To ports@FreeBSD.ORG: if there is something with my ports
(errors whatever) feel free to fix it. But please no radical
changes ;-)

Many thanks

	Andreas ///


On Sun, Apr 30, 2000 at 02:33:49AM +0900, OKAZAKI Tetsurou wrote:
> In the message <20000429155850.B9738@titan.klemm.gtn.com> 
> Andreas Klemm <andreas@klemm.gtn.com> wrote:
> 
> > On Sat, Apr 29, 2000 at 02:28:55AM -0700, Satoshi - Ports Wraith - Asami wrote:
> > >  * From: Andreas Klemm <andreas@klemm.gtn.com>
> > > 
> > >  * Now you wanted me to use WRKDIRPREFIX like in the ghostscript55 port:
> > >  * post-extract:
> > >  *         ${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
> > >  * 		${WRKSRC}/jpeg
> > >  * 
> > >  * But the link to the jpeg shows to nirwana.
> > > 
> > > What particular Nirvana is the jpeg link pointing to?  It seems to
> > > work fine here:
> > > 
> > >   http://bento.FreeBSD.org/errorlogs/errorlogs/a.4.20000427/ghostscript-6.01.log
> > > 
> > > (I'm assuming it worked because pkg_create exited with no errors.)
> 
> > See my other mail where I attached my build
> 
> OK. I'll analyze it.
> 
> Hmm... Looks like a port "graphic/jpeg" is in the /usr/ports directory to me...
> 
> ===>   ghostscript-6.01 depends on file: /nonexistent - not found
> ===>    Verifying extract for /nonexistent in /usr/ports/graphics/jpeg
> ===>  Extracting for jpeg-6b
> >> Checksum OK for jpegsrc.v6b.tar.gz.
> ...
> ===>  Patching for ghostscript-6.01
> ===>  Applying FreeBSD patches for ghostscript-6.01
> ===>   Applying FreeBSD patch /home/andreas/src/freefall/myports/akl/print/ghostscript6/patches/patch-aa
> ...
> ===>   Applying FreeBSD patch /home/andreas/src/freefall/myports/akl/print/ghostscript6/patches/patch-ab
> ...
> 
> Hmm... Looks like your port print/ghostscript6 is in the 
> /home/andreas/src/freefall/myports/akl directory to me...
> 
> Therefore, 
> * jpeg sources was extracted at ${WRKDIRPREFIX}/usr/ports/graphics/jpeg/work/jpeg-6b .
> * ${WRKSRC} was specified at
>   ${WRKDIRPREFIX}/home/andreas/src/freefall/myports/akl/print/ghostscript6/work .
> * ${.CURDIR} has a value of /home/andreas/src/freefall/myports/akl/print/ghostscript6/ .
> 
> |post-extract:
> |        @${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
> |                ${WRKSRC}/jpeg
> 
> So this is the same as:
> 
> ${LN} -s ${WRKDIRPREFIX}/home/andreas/src/freefall/myports/akl/print/ghostscript6/\
>          ../../graphics/jpeg/work/jpeg-6b \
>          ${WRKDIRPREFIX}/home/andreas/src/freefall/myports/akl/print/ghostscript6/work
> 
> which does not work well unless you extract jpeg sources at 
> ${WRKDIRPREFIX}/home/andreas/src/freefall/myports/akl/print/ghostscript6/\
> ../../graphics/jpeg/work/jpeg-6b.
> 
> Workaround 1:
> 
> * Copy ports you extract-depend on to your ports root directory.
> 
>   cd /home/andreas/src/freefall/myports/akl/
>   mkdir graphics
>   cp -pr /usr/ports/graphics/jpeg graphics/
> 
> * Then, make symbolic links from other ports you depend on too.
> 
>   ln -sf /usr/ports/graphics/png graphics/png
>   mkdir devel
>   ln -sf /usr/ports/devel/gmake devel/gmake
>   mkdir x11
>   ln -sf /usr/ports/x11/XFree86 x11/XFree86
> 
> * Specify PORTSDIR=/home/andreas/src/freefall/myports/akl/ when you test your port.
> 
>   cd print/ghostscript6
>   make PORTSDIR=/home/andreas/src/freefall/myports/akl build
> 
> Workaround 2:
> 
> * Append the distfile name of the jpeg archive and its master sites to
>   the DISTFILES and MASTER_SITES in the Makefile of the ghostscript6 port.
> 
> * Then do extract and make a link as you like:-).
> 
> --
> Tetsurou

-- 
Andreas Klemm                               http://people.FreeBSD.ORG/~andreas
                                     http://www.freebsd.org/~fsmp/SMP/SMP.html
                                   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000502083517.A2892>