ports/190209: [PATCH] unbreak mail/courier build for FreeBSD 10 and HEAD

Milan Obuch bsd at dino.sk
Sun May 25 19:20:01 UTC 2014


>Number:         190209
>Category:       ports
>Synopsis:       [PATCH] unbreak mail/courier build for FreeBSD 10 and HEAD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 19:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Milan Obuch
>Release:        8.4-STABLE, 9.2-STABLE, 10.0-STABLE, 11-CURRENT
>Organization:
>Environment:
>Description:
Currently building mail/courier on releases with default compiler switched to clang fails. Attached simple patch is a workaround for that.
>How-To-Repeat:
Try to build mail/courier on 10.0-RELEASE or newer
>Fix:
--- Makefile	2014-05-25 21:03:59.000000000 +0200
+++ Makefile.new	2014-05-25 21:03:07.000000000 +0200
@@ -60,7 +60,6 @@
 USE_AUTOTOOLS=	libtool aclocal automake
 AUTOMAKE_ARGS=	--add-missing
 USE_BZIP2=	yes
-USE_GCC=	any
 USES=		fam gettext gmake perl5 pkgconfig
 USE_OPENSSL=	yes
 USE_SUBMAKE=	yes
@@ -138,6 +137,10 @@
 .include "${.CURDIR}/Makefile.man"
 .include "${.CURDIR}/Makefile.own"
 
+.if ${OSVERSION} >= 1000000
+USE_GCC=       4.6
+.endif
+
 .if ${PORT_OPTIONS:MLDAP}
 USE_OPENLDAP=	yes
 WITH_AUTH_LDAP=	yes


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


More information about the freebsd-ports-bugs mailing list