Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 14:40:12 +0900
From:      Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
To:        asami@FreeBSD.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/japanese/elisa10x8 Makefile ports/japanese/elisa8x8         Makefile ports/japanese/k10 Makefile ports/japanese/k12 Makefile         ports/japanese/kanji18 Makefile ports/japanese/kappa20 Makefile         ports/japanese/netscape-fonts Makefile ports/japanese/ngraph-fonts ...
Message-ID:  <20000919144012C.takamune@vrl.mei.co.jp>
In-Reply-To: <200009121108.EAA92376@freefall.freebsd.org>
References:  <200009121108.EAA92376@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Ports Wraith !

This commit broke the dependency of 'japanese/netscape-fonts'.

===>   Returning to build of ja-netscape-communicator-linux-4.75
===>   ja-netscape-communicator-linux-4.75 depends on file: /var/db/pkg/ja-netscape-fonts-1.0 - not found
===>    Verifying install for /var/db/pkg/ja-netscape-fonts-1.0 in /usr/ports/japanese/netscape-fonts
===>  Extracting for ja-netscape-fonts-1.0
>> No MD5 checksum file.
===>   ja-netscape-fonts-1.0 depends on shared library: X11.6 - found
===>  Patching for ja-netscape-fonts-1.0
===>  Configuring for ja-netscape-fonts-1.0
===>  Installing for ja-netscape-fonts-1.0
===>   ja-netscape-fonts-1.0 depends on executable: mkfontdir - found
===>   ja-netscape-fonts-1.0 depends on shared library: X11.6 - found
Can't rename: No such file or directory at /opt/head/ports/japanese/netscape-fonts/pkg/INSTALL line 8.
*** Error code 2

It is fixed as follows:

Index: ports/japanese/netscape-fonts/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/netscape-fonts/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- ports/japanese/netscape-fonts/Makefile	2000/09/12 11:08:02	1.9
+++ ports/japanese/netscape-fonts/Makefile	2000/09/20 03:00:00
@@ -23,7 +23,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${XFREE86_VERSION} == 4
-RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS+=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
 .endif
 
 NO_BUILD=	yes

I haven't checked all MakefileS which modified by the commit;

>   Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
or
>  Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
>  RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.

I think `+=' is safer than '=' in these MakefileS.

And, again, I found `RUN_DEPENDS=' in `bsd.port.mk'.

> .if defined(USE_LINUX)
> RUN_DEPENDS=    ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base
> .endif

Let's change it into `RUN_DEPENDS+='.

Thanks.
--
Kazu TAKAMUNE <takamune@avrl.mei.co.jp>


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




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