From leeym@utopia.leeym.com  Fri Aug 24 10:14:47 2001
Return-Path: <leeym@utopia.leeym.com>
Received: from utopia.leeym.com (utopia.leeym.com [211.72.162.194])
	by hub.freebsd.org (Postfix) with ESMTP id C9F5B37B40B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Aug 2001 10:14:42 -0700 (PDT)
	(envelope-from leeym@utopia.leeym.com)
Received: (from leeym@localhost)
	by utopia.leeym.com (8.11.5/8.11.5) id f7OHEd478633;
	Sat, 25 Aug 2001 01:14:39 +0800 (CST)
	(envelope-from leeym)
Message-Id: <200108241714.f7OHEd478633@utopia.leeym.com>
Date: Sat, 25 Aug 2001 01:14:39 +0800 (CST)
From: Yen-Ming Lee <leeym@utopia.leeym.com>
Reply-To: Yen-Ming Lee <leeym@utopia.leeym.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: NO MAINTAINER UPDATE: sysutils/fcron
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30038
>Category:       ports
>Synopsis:       NO MAINTAINER UPDATE: sysutils/fcron
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 24 10:20:01 PDT 2001
>Closed-Date:    Fri Aug 24 15:59:51 PDT 2001
>Last-Modified:  Fri Aug 24 19:30:00 PDT 2001
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.4-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 4.4-RC FreeBSD 4.4-RC #5: Tue Aug 21 05:17:44 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


>Description:

mkdir ${PREFIX}/etc before configure and let configure script locate the etc directory.

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/sysutils/fcron/Makefile fcron/Makefile
--- /usr/ports/sysutils/fcron/Makefile	Fri Jul 20 16:02:38 2001
+++ fcron/Makefile	Sat Aug 25 01:11:38 2001
@@ -33,6 +33,9 @@
 MAN5=	fcrontab.5 fcron.conf.5
 MAN8=	fcron.8
 
+pre-configure:
+	@${MKDIR} ${PREFIX}/etc
+
 post-install:
 	@${CP} ${WRKSRC}/files/fcron.allow ${PREFIX}/etc/fcron.allow.dist
 	@${CP} ${WRKSRC}/files/fcron.deny ${PREFIX}/etc/fcron.deny.dist
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Fri Aug 24 15:59:51 PDT 2001 
State-Changed-Why:  
Committed (with mods), thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30038 

From: Patrick Li <pat@databits.net>
To: "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc: freebsd-gnats-submit@FreeBSD.org, leeym@utopia.leeym.com
Subject: Re:  ports/30038: NO MAINTAINER UPDATE: sysutils/fcron
Date: Fri, 24 Aug 2001 22:22:03 -0400

 dwcjr, please look at bsd.port.mk!
 
 from bsd.port.mk:
 MKDIR?=		/bin/mkdir -p
 
 Well according to bento logs without ${PREFIX}/etc configure errors...
 See if originator and you can modify configure to stop this...
 Why backout when it was a temporary solution?
 
 -- Backout 1.5 of Makefile ETC is already set so why should configure need
 -- to autodetect Also if you build as non-root you don't have correct perms on etc 
 Uhhhhh
 
 -pat
 ++ 24/08/01 18:25 -0500 - David W. Chapman Jr.:
 | On Fri, Aug 24, 2001 at 07:24:56PM -0400, Patrick Li wrote:
 | > the modification you made to his PR (adding the -p flag to mkdir)
 | > wasnt really necessary was it?
 | > 
 | Not entirely, I could have ${MKDIR} blah > /dev/null
 | 
 | -- 
 | David W. Chapman Jr.
 | dwcjr@inethouston.net	Raintree Network Services, Inc. <www.inethouston.net>
 | dwcjr@freebsd.org	FreeBSD Committer <www.FreeBSD.org>
>Unformatted:
