Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 19:13:20 GMT
From:      Milan Obuch <bsd@dino.sk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190209: [PATCH] unbreak mail/courier build for FreeBSD 10 and HEAD
Message-ID:  <201405251913.s4PJDKk5019231@cgiserv.freebsd.org>
Resent-Message-ID: <201405251920.s4PJK0tY060495@freefall.freebsd.org>

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

>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:



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