From owner-freebsd-ports Sat Apr 29 10:36:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mailgw1.be.to (mailgw1.be.to [210.235.212.5]) by hub.freebsd.org (Postfix) with ESMTP id 229AA37B752 for ; Sat, 29 Apr 2000 10:36:18 -0700 (PDT) (envelope-from okazaki@be.to) Received: from mail1.be.to (www.be.to [210.235.212.3]) by mailgw1.be.to (8.9.3+3.2W/BETO.2.1-2000042817000035) with ESMTP id CAA24963 for ; Sun, 30 Apr 2000 02:36:09 +0900 Received: from acidrain (ppp25-Mobara1.mtci.ne.jp [210.172.1.227]) by mail1.be.to (8.8.8+3.0Wbeta13/BETO.2.0-1999110714000000) with SMTP id CAA20734 for ; Sun, 30 Apr 2000 02:35:54 +0900 Received: (qmail 11673 invoked from network); 29 Apr 2000 17:33:52 -0000 Received: from localhost (HELO acidrain.localnet) (127.0.0.1) by localhost with SMTP; 29 Apr 2000 17:33:52 -0000 Date: Sun, 30 Apr 2000 02:33:49 +0900 Message-ID: <86og6syfpe.wl@dolphin.be.to> From: OKAZAKI Tetsurou To: andreas@klemm.gtn.com Cc: asami@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: need help with ghostscript6 port, that doesn't build anymore In-Reply-To: In your message of "Sat, 29 Apr 2000 15:58:50 +0200" <20000429155850.B9738@titan.klemm.gtn.com> References: <20000424182620.A88549@titan.klemm.gtn.com> <20000429155850.B9738@titan.klemm.gtn.com> User-Agent: Wanderlust/1.1.1 (Purple Rain) REMI/1.14.1 (=?ISO-8859-4?Q?Mus?= =?ISO-8859-4?Q?higawa=F2sugi?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz=F2?=) APEL/10.2 Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Unknown MIME-Version: 1.0 (generated by REMI 1.14.1 - =?ISO-8859-4?Q?=22Mushigawa=F2?= =?ISO-8859-4?Q?sugi=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message