Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 16:30:35 -0600 (CST)
From:      keichii@bsdconspiracy.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17608: ports/mail/postfix does not build on 5.0-current
Message-ID:  <200003262230.QAA04919@cs2728-200.austin.rr.com>

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

>Number:         17608
>Category:       ports
>Synopsis:       Fixing postfix build on 5.0-current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 26 14:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Chin-Yuan Wu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
University of Texas at Austin-Electrical Engineering
>Environment:

FreeBSD cs2728-200.austin.rr.com 5.0-CURRENT FreeBSD 5.0-CURRENT 
#1: Sun Mar 26 05:09:27 CST 2000     
keichii@cs2728-200.austin.rr.com:/usr/src/sys/compile/KEICHII.SMP  i386

>Description:

Postfix cannot detect FreeBSD5 as a system and the build fails

>How-To-Repeat:

build it and it will fail :P [enough about failing..]

>Fix:

This patches against the extracted postfix src directory after
"make extract patch".  I simply added SYSTYPE FREEBSD5 and
made util/sys_def.h recognize it.

=====================================BEGIN PATCH=================================
diff -crN /usr/ports/mail/postfix/work/postfix-19991231-pl04/makedefs /root/postfix/work/postfix-19991231-pl04/makedefs
*** /usr/ports/mail/postfix/work/postfix-19991231-pl04/makedefs Sat Jan 22 13:04:27 2000
--- /root/postfix/work/postfix-19991231-pl04/makedefs   Sun Mar 26 16:08:59 2000
***************
*** 89,94 ****
--- 89,96 ----
                ;;
    FreeBSD.4*) SYSTYPE=FREEBSD4
                ;;
+   FreeBSD.5*)   SYSTYPE=FREEBSD5
+                 ;;
    OpenBSD.2*) SYSTYPE=OPENBSD2
                ;;
     NetBSD.1*) SYSTYPE=NETBSD1
diff -crN /usr/ports/mail/postfix/work/postfix-19991231-pl04/util/sys_defs.h /root/postfix/work/postfix-19991231-pl04/util/sys_defs.h
*** /usr/ports/mail/postfix/work/postfix-19991231-pl04/util/sys_defs.h  Sat Jan 22 15:03:31 2000
--- /root/postfix/work/postfix-19991231-pl04/util/sys_defs.h    Sun Mar 26 16:09:49 2000
***************
*** 19,25 ****
    * directory. Adding support for a new system type means updating the
    * makedefs script, and adding a section below for the new system.
    */
! #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
      || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
      || defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5)
  #define SUPPORTED
--- 19,25 ----
    * directory. Adding support for a new system type means updating the
    * makedefs script, and adding a section below for the new system.
    */
! #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) || defined(FREEBSD5) \
      || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
      || defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5)
  #define SUPPORTED
=====================================END PATCH===================================

>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?200003262230.QAA04919>