From owner-freebsd-ports Sun Mar 26 14:40: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5724037BA5D for ; Sun, 26 Mar 2000 14:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA87404; Sun, 26 Mar 2000 14:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cs2728-200.austin.rr.com (cs2728-200.austin.rr.com [24.27.28.200]) by hub.freebsd.org (Postfix) with ESMTP id 994E437BAA8 for ; Sun, 26 Mar 2000 14:31:11 -0800 (PST) (envelope-from keichii@cs2728-200.austin.rr.com) Received: (from root@localhost) by cs2728-200.austin.rr.com (8.9.3/8.9.3) id QAA04919; Sun, 26 Mar 2000 16:30:35 -0600 (CST) (envelope-from keichii) Message-Id: <200003262230.QAA04919@cs2728-200.austin.rr.com> Date: Sun, 26 Mar 2000 16:30:35 -0600 (CST) From: keichii@bsdconspiracy.net Reply-To: keichii@bsdconspiracy.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17608: ports/mail/postfix does not build on 5.0-current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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