1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Fixed build to FreeBSD 9.

- Mark as jobs safe.

PR:		138916
Submitted by:	Sylvio Cesar <scjamorim___bsd.com.br>
Feature safe:	yes
This commit is contained in:
Marcus Alves Grando 2009-09-27 16:54:58 +00:00
parent efbf96e922
commit ce5abe443c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242172
3 changed files with 20 additions and 8 deletions

View File

@ -24,6 +24,7 @@ COMMENT= A secure alternative to widely-used Sendmail
CONFLICTS= courier-0.* postfix-1.* postfix-2.* postfix-current-2.[0-68-9]* \
sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*
MAKE_JOBS_SAFE= yes
USE_SUBMAKE= yes
USE_PERL5_BUILD=yes
USE_RC_SUBR= postfix.sh

View File

@ -1,10 +1,12 @@
--- makedefs.orig 2007-08-19 11:28:11.000000000 -0300
+++ makedefs 2007-10-22 16:37:52.000000000 -0200
@@ -132,6 +132,8 @@
--- makedefs.orig 2009-05-11 18:26:46.000000000 -0300
+++ makedefs 2009-09-15 10:27:12.000000000 -0300
@@ -144,6 +144,10 @@
;;
FreeBSD.7*) SYSTYPE=FREEBSD7
;;
+ FreeBSD.8*) SYSTYPE=FREEBSD7
+ FreeBSD.8*) SYSTYPE=FREEBSD8
+ ;;
+ FreeBSD.9*) SYSTYPE=FREEBSD9
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;

View File

@ -1,10 +1,19 @@
--- src/util/sys_defs.h.orig 2009-07-29 16:58:28.000000000 -0300
+++ src/util/sys_defs.h 2009-07-29 16:59:15.000000000 -0300
@@ -110,6 +110,10 @@
--- src/util/sys_defs.h.orig 2009-06-07 15:47:59.000000000 -0300
+++ src/util/sys_defs.h 2009-09-27 16:30:18.000000000 -0300
@@ -25,6 +25,7 @@
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
+ || defined(FREEBSD8) || defined(FREEBSD9) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
@@ -110,6 +111,11 @@
#define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */
#endif
+#if (__FreeBSD_version >= 702104 && __FreeBSD_version < 800000) || (__FreeBSD_version >= 800099)
+#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \
+ || __FreeBSD_version >= 800100
+#define HAS_CLOSEFROM
+#endif
+