From owner-ports-jp@jp.freebsd.org  Thu Mar 29 11:28:46 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id LAA75538;
	Thu, 29 Mar 2001 11:28:46 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from shiva.tri.asanuma.co.jp (shiva.tri.asanuma.co.jp [210.160.188.2])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id LAA75533
	for <ports-jp@jp.freebsd.org>; Thu, 29 Mar 2001 11:28:44 +0900 (JST)
	(envelope-from mori@tri.asanuma.co.jp)
Received: from yashoda.tri.asanuma.co.jp (yashoda.tri.asanuma.co.jp [172.16.57.11])
	by shiva.tri.asanuma.co.jp (Postfix) with ESMTP id D66145443
	for <ports-jp@jp.freebsd.org>; Thu, 29 Mar 2001 11:28:41 +0900 (JST)
Received: from kurishna.tri.asanuma.co.jp (kurishna.tri.asanuma.co.jp [2001:218:4dc:1:200:f8ff:fe02:ec60])
	by yashoda.tri.asanuma.co.jp (8.11.0/8.11.0) with ESMTP id f2T2Se322954
	for <ports-jp@jp.freebsd.org>; Thu, 29 Mar 2001 11:28:41 +0900 (JST)
To: ports-jp@jp.freebsd.org
Siganture-File: ~/.signature
MIME-Version: 1.0 (generated by REMI 1.14.2 - =?ISO-8859-4?Q?=22Hokuhoku-=D2?=
 =?ISO-8859-4?Q?shima=22?=)
Content-Type: text/plain; charset=ISO-2022-JP
From: Mori Kouji <mori@tri.asanuma.co.jp>
Date: 29 Mar 2001 11:28:40 +0900
Message-ID: <80n1a55mw7.fsf@kurishna.tri.asanuma.co.jp>
Lines: 50
User-Agent: Nana-gnus/7.1.0.23 REMI/1.14.2 (=?ISO-8859-4?Q?Hokuhoku-=D2shi?=
 =?ISO-8859-4?Q?ma?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz=F2?=) APEL/10.2
 Emacs/21.0.98 (i386--freebsd) MULE/5.0 (SAKAKI)
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: ports-jp 10875
Subject: [ports-jp 10875] x11/XFree86-4-clients with USA_RESIDENT undefined
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: mori@kurishna.tri.asanuma.co.jp

$B?9$G$9!#$3$s$K$A$O!#(B

FreeBSD 4.3-RC $B$G(B x11/XFree86-4-clients $B$r(B make $B$9$k>l9g!"(B
USA_RESIDENT $B$,L$Dj5A$@$H(B

  $ make
  "Makefile", line 61: Malformed conditional (${USA_RESIDENT} == YES)
  "Makefile", line 61: Need an operator
  "Makefile", line 73: if-less endif
  "Makefile", line 73: Need an operator
  make: fatal errors encountered -- cannot continue
  $

$B$H$$$&%(%i!<$K$J$j$^$9!#$b$A$m$s(B USA_RESIDENT $B$,(B YES $B$d(B NO $B$G$"$l$P(B
($B$H$K$+$/Dj5A$5$($7$F$"$l$P(B) $B$3$N%(%i!<$K$O$J$j$^$;$s$,!"0l1~(B
$B%A%'%C%/F~$l$?J}$,$$$$$+$b!#(B

--- Makefile	Thu Mar 29 11:16:25 2001
+++ Makefile.new	Thu Mar 29 11:21:33 2001
@@ -57,6 +57,17 @@
 HasSecureRPC?=		DEFAULT
 HasPam?=		DEFAULT
 
+.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
+pre-fetch:
+	@${ECHO_MSG}
+	@${ECHO_MSG} You must set variable USA_RESIDENT to YES, if you are USA resident
+	@${ECHO_MSG} or to NO, if you aren\'t USA resident to build this package
+	@${FALSE}
+
+.include <bsd.port.mk>
+
+.elif defined(USA_RESIDENT)
+
 .if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
 .if ${USA_RESIDENT} == YES
 pre-fetch:
@@ -85,3 +96,5 @@
 	cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
 
 .include <bsd.port.post.mk>
+
+.endif


# security/gnupg-idea $B$+$i%Q%/%j$^$7$?!#(B(grep $B$G$?$^$?$^0z$C$+$+$C$?$N$G(B)
-- 
$B?9(B $B9@Fs(B	(MORI Kouji)
($B3t(B)$B^I>BAH(B $B5;=Q8&5f=j(B
E-mail: mori@tri.asanuma.co.jp
