Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 20:01:50 GMT
From:      Chris Rees <crees@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168275: [PATCH] mail/rmilter Remove obsolete OSVERSION check
Message-ID:  <201205232001.q4NK1oE9016400@freefall.freebsd.org>
Resent-Message-ID: <201205232010.q4NKA5HL027771@freefall.freebsd.org>

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

>Number:         168275
>Category:       ports
>Synopsis:       [PATCH] mail/rmilter Remove obsolete OSVERSION check
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 20:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
FreeBSD ports tree doesn't support <7.x, so this check is unnecessary.
>How-To-Repeat:
	
>Fix:

	

--- mail-rmilter.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/rmilter/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	14 Feb 2012 12:45:23 -0000	1.9
+++ Makefile	23 May 2012 19:54:38 -0000
@@ -32,13 +32,7 @@
 .endif
 
 LIB_DEPENDS+=		pcre.1:${PORTSDIR}/devel/pcre
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502102
-IGNORE=				using libspf2 requires a thread safe resolver
-.else
 LIB_DEPENDS+=		spf2.3:${PORTSDIR}/mail/libspf2
-.endif
 
 CFLAGS+=	${PTHREAD_CFLAGS}
 LIBS+=		${PTHREAD_LIBS}
@@ -53,4 +47,4 @@
 	${INSTALL_DATA} ${WRKSRC}/rmilter.conf.sample ${PREFIX}/etc/
 	${INSTALL_MAN} ${WRKSRC}/rmilter.8 ${MAN8PREFIX}/man/man8/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- mail-rmilter.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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