From owner-freebsd-ports Mon May 1 23:50:49 2000 Delivered-To: freebsd-ports@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id 9661D37BC9F; Mon, 1 May 2000 23:50:37 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by picalon.gun.de (8.9.3/8.9.3) id IAA20623; Tue, 2 May 2000 08:45:15 +0200 (MET DST) >Received: (from andreas@localhost) by klemm.gtn.com (8.9.3/8.9.3) id IAA02951; Tue, 2 May 2000 08:35:17 +0200 (CEST) (envelope-from andreas) Date: Tue, 2 May 2000 08:35:17 +0200 From: Andreas Klemm To: OKAZAKI Tetsurou 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> References: <20000424182620.A88549@titan.klemm.gtn.com> <20000429155850.B9738@titan.klemm.gtn.com> <86og6syfpe.wl@dolphin.be.to> Mime-Version: 1.0 X-Mailer: Mutt 1.0.1i In-Reply-To: <86og6syfpe.wl@dolphin.be.to>; from okazaki@be.to on Sun, Apr 30, 2000 at 02:33:49AM +0900 X-Operating-System: FreeBSD 5.0-CURRENT SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 wrote: > > > On Sat, Apr 29, 2000 at 02:28:55AM -0700, Satoshi - Ports Wraith - Asami wrote: > > > * From: Andreas Klemm > > > > > > * 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