Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 21:08:47 -0700 (PDT)
From:      sean@chittenden.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/27530: vpopmail failes configure in ports, unistd.h isn't included
Message-ID:  <200105220408.f4M48lY29769@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27530
>Category:       ports
>Synopsis:       vpopmail failes configure in ports, unistd.h isn't included
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 21:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

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




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