From owner-ports-jp@jp.freebsd.org  Fri Sep 10 04:28:42 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA79898;
	Fri, 10 Sep 1999 04:28:42 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mta4.odn.ne.jp (mta4.odn.ne.jp [143.90.131.71])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA79892
	for <ports-jp@jp.freebsd.org>; Fri, 10 Sep 1999 04:28:41 +0900 (JST)
	(envelope-from shuna@pop16.odn.ne.jp)
Received: from localhost.my.domain (TBTca-0515p40.ppp.odn.ad.jp [210.231.53.48])
	by mta4.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9808281156) with ESMTP id EAA01895
	for <ports-jp@jp.freebsd.org>; Fri, 10 Sep 1999 04:28:37 +0900 (JST)
Received: (from shuna@localhost)
	by localhost.my.domain (8.9.3/3.7W-ppp) id EAA10750
	for ports-jp@jp.freebsd.org; Fri, 10 Sep 1999 04:15:16 +0900 (JST)
Date: Fri, 10 Sep 1999 04:15:15 +0900
From: IWASHITA Yoji <shuna@pop16.odn.ne.jp>
To: ports-jp@jp.freebsd.org
Message-ID: <19990910041515.A10729@a44>
References: <19990907025226.B36556@a44> <19990907165537.5601.sada@rr.iij4u.or.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mutt 1.0pre1i-jp0
In-Reply-To: <19990907165537.5601.sada@rr.iij4u.or.jp>
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: ports-jp 7479
Subject: [ports-jp 7479] Re: [Q] replace ports
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: shuna@pop16.odn.ne.jp

$B4d2<$G$9!#CY$l$F$9$_$^$;$s!#(B

On Wed, Sep 08, 1999 at 01:55:37AM +0900, SADA Kenji wrote:
> Checkout $B$7$F%F%9%H$7$F$*$+$7$+$C$?$i65$($F$/$@$5$$!#(B
> send-pr $B$G$b$3$3$G$b$$$$$G$9!#(B

$B$H$$$&$o$1$G!"(Bmutt $B$N(B package building error $B2sHr%Q%C%A$G$9!#(B
configure $B$K(B chmod g-w /var/mail $B$5$l$F$$$k$h$&$K;W$$9~$^$;$F!"(B
mutt_dotlock $B$r:n$i$J$$$h$&$K$7$^$7$?!#(Bcurrent $B$+$i$N:9J,$G$9!#(B

-- 
$B4d2<MN<#!w#O#D#N(B


-- $B$3$3$+$i(B --
diff -cNr mutt-old/Makefile mutt/Makefile
*** mutt-old/Makefile	Mon Sep  6 05:04:07 1999
--- mutt/Makefile	Fri Sep 10 03:42:36 1999
***************
*** 1,9 ****
  # New ports collection makefile for:	ja-mutt
  # Version required:	1.0pre1i
! # Date created:		5 Sep 1999
  # Whom:			IWASHITA Yoji <shuna@pop16.odn.ne.jp>
  #
! # $FreeBSD: ports/japanese/mutt/Makefile,v 1.1.1.1 1999/09/05 20:04:07 sada Exp $
  #
  
  DISTNAME=	mutt-1.0pre1i
--- 1,9 ----
  # New ports collection makefile for:	ja-mutt
  # Version required:	1.0pre1i
! # Date created:		10 Sep 1999
  # Whom:			IWASHITA Yoji <shuna@pop16.odn.ne.jp>
  #
! # $FreeBSD$
  #
  
  DISTNAME=	mutt-1.0pre1i
***************
*** 30,36 ****
  USE_GMAKE=	yes
  WRKSRC=		${WRKDIR}/mutt-1.0pre1
  CONFIGURE_ARGS=	--with-slang --enable-locales-fix --with-included-gettext \
- 		--enable-flock --disable-fcntl \
  		--sysconfdir=${PREFIX}/share/mutt \
  		--with-sharedir=${PREFIX}/share/mutt \
  		--with-docdir=${PREFIX}/share/doc/mutt \
--- 30,35 ----
diff -cNr mutt-old/patches/patch-aa mutt/patches/patch-aa
*** mutt-old/patches/patch-aa	Mon Sep  6 05:04:07 1999
--- mutt/patches/patch-aa	Thu Sep  9 23:57:58 1999
***************
*** 1,5 ****
! *** configure.in.orig	Sun Sep  5 05:36:22 1999
! --- configure.in	Sun Sep  5 05:41:07 1999
  ***************
  *** 107,124 ****
    	
--- 1,5 ----
! *** configure.in.orig	Thu Sep  9 12:06:13 1999
! --- configure.in	Thu Sep  9 12:06:16 1999
  ***************
  *** 107,124 ****
    	
***************
*** 32,34 ****
--- 32,87 ----
    	else
    		dnl ---Check to see if $withval is a source directory
    		if test -f $withval/src/slang.h; then
+ ***************
+ *** 279,319 ****
+   	fi
+   	AC_DEFINE_UNQUOTED(MAILPATH, "$mutt_cv_mailpath")
+   
+ ! 	AC_CACHE_CHECK(if $mutt_cv_mailpath is world writable, mutt_cv_worldwrite, [AC_TRY_RUN([#include <sys/types.h>
+ ! #include <sys/stat.h>
+ ! 
+ ! int main (int argc, char **argv)
+ ! {
+ ! 	struct stat s;
+ ! 
+ ! 	stat ("$mutt_cv_mailpath", &s);
+ ! 	if (s.st_mode & S_IWOTH) exit (0);
+ ! 	exit (1);
+ ! }], mutt_cv_worldwrite=yes, mutt_cv_worldwrite=no, mutt_cv_worldwrite=no)])
+ ! 
+   	mutt_cv_setgid=no
+ - 	if test $mutt_cv_worldwrite = yes; then
+ - 		AC_DEFINE(USE_DOTLOCK)
+ - 	else
+ - 
+ - 		AC_CACHE_CHECK(if $mutt_cv_mailpath is group writable, mutt_cv_groupwrite, [AC_TRY_RUN([#include <sys/types.h>
+ - #include <sys/stat.h>
+ - 
+ - int main (int argc, char **argv)
+ - {
+ - 	struct stat s;
+ - 
+ - 	stat ("$mutt_cv_mailpath", &s);
+ - 	if (s.st_mode & S_IWGRP) exit (0);
+ - 	exit (1);
+ - }], mutt_cv_groupwrite=yes, mutt_cv_groupwrite=no, mutt_cv_groupwrite=no)])
+ - 
+ - 		if test $mutt_cv_groupwrite = yes; then
+ - 			AC_DEFINE(USE_DOTLOCK)
+ - 			AC_DEFINE(USE_SETGID)
+ - 			mutt_cv_setgid=yes
+ - 		fi
+ - 	fi
+   fi
+   
+   if test "x$mutt_cv_setgid" = "xyes" || test "x$mutt_cv_fchdir" = "xno"
+ --- 272,280 ----
+   	fi
+   	AC_DEFINE_UNQUOTED(MAILPATH, "$mutt_cv_mailpath")
+   
+ ! 	mutt_cv_worldwrite=no
+ ! 	mutt_cv_groupwrite=no
+   	mutt_cv_setgid=no
+   fi
+   
+   if test "x$mutt_cv_setgid" = "xyes" || test "x$mutt_cv_fchdir" = "xno"
diff -cNr mutt-old/pkg/PLIST mutt/pkg/PLIST
*** mutt-old/pkg/PLIST	Mon Sep  6 05:04:07 1999
--- mutt/pkg/PLIST	Thu Sep  9 23:55:06 1999
***************
*** 1,5 ****
  bin/mutt
- bin/mutt_dotlock
  share/doc/mutt/COPYRIGHT
  share/doc/mutt/ChangeLog
  share/doc/mutt/GPL
--- 1,4 ----
