From nobody@FreeBSD.org  Mon May 21 21:08:47 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5F13137B422
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 May 2001 21:08:47 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4M48lY29769;
	Mon, 21 May 2001 21:08:47 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105220408.f4M48lY29769@freefall.freebsd.org>
Date: Mon, 21 May 2001 21:08:47 -0700 (PDT)
From: sean@chittenden.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: vpopmail failes configure in ports, unistd.h isn't included
X-Send-Pr-Version: www-1.0

>Number:         27530
>Category:       ports
>Synopsis:       vpopmail failes configure in ports, unistd.h isn't included
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    nbm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 21:10:01 PDT 2001
>Closed-Date:    Thu May 24 07:15:21 PDT 2001
>Last-Modified:  Thu May 24 07:16:49 PDT 2001
>Originator:     Sean Chittenden
>Release:        4.3-STABLE
>Organization:
>Environment:
FreeBSD rand.tgd.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Sat Apr 21 12:27:27 PDT 2001     sean@rand.tgd.net:/usr/src/sys/compile/TITAN  i386 9:07pm
>Description:
unistd.h isn't included in the configure script, therefore unlink() isn't found and the test fails to compile

The patch to solve the problem is included below.  This may need to be passed over to the vpopmail guys.
>How-To-Repeat:
cd /usr/ports/mail/vpopmail
make configure
>Fix:
1471a1472
> #include <unistd.h>
9:04pm root@rand:/usr/ports/mail/vpopmail/work/vpopmail-4.9.8 # diff -u configure.orig configure
--- configure.orig      Mon May 21 21:04:13 2001
+++ configure   Mon May 21 21:02:26 2001
@@ -1469,6 +1469,7 @@
 #include "confdefs.h"
 
 
+#include <unistd.h>
 #include <stdio.h>
 #include <pwd.h>
 #include <stdlib.h>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->nbm 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Tue May 22 09:26:43 PDT 2001 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27530 
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Thu May 24 07:15:21 PDT 2001 
State-Changed-Why:  
It fails due to being unable to create /usr/local/vpopmail/etc/libs_dep, 
not due to the unlink thing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27530 
>Unformatted:
