From nobody@FreeBSD.org  Sun Sep 22 11:56:59 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id EB1559B7
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Sep 2013 11:56:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id D93BD2AE8
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Sep 2013 11:56:59 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8MBuxXe092393
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Sep 2013 11:56:59 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8MBuxe3092387;
	Sun, 22 Sep 2013 11:56:59 GMT
	(envelope-from nobody)
Message-Id: <201309221156.r8MBuxe3092387@oldred.freebsd.org>
Date: Sun, 22 Sep 2013 11:56:59 GMT
From: Sutra Zhou <zhoushuqun@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Specify GCC version for devel/libopkele
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182293
>Category:       ports
>Synopsis:       Specify GCC version for devel/libopkele
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    feld
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 22 12:00:00 UTC 2013
>Closed-Date:    Sat Nov 02 23:13:37 UTC 2013
>Last-Modified:  Sat Nov  2 23:20:02 UTC 2013
>Originator:     Sutra Zhou
>Release:        10.0-ALPHA1
>Organization:
>Environment:
FreeBSD www.example.org 10.0-ALPHA1 FreBSD 10.0-ALPHA1 #0 r255602: Tue Sep 17 08:43:57 CST 2013 root@www.example.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
On FreeBSD 10, libopkele build failed with gcc3
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/libopkele-2.0.4_2.log

So I have some tests, and found libopkele can only build with gcc 4.4 or 4.6:
     4.2 Failed
     4.4 OK
     4.6 OK
     4.7 Failed
     4.8 Failed
     4.9 Unknown version of GCC specified (USE_GCC=4.9)

This patch attached specifies USE_GCC=46
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 327866)
+++ Makefile	(working copy)
@@ -18,6 +18,7 @@
 		xslt:${PORTSDIR}/textproc/libxslt
 
 USE_LDCONFIG=	yes
+USE_GCC=	4.6
 USES=		gmake pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	"OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->feld 
Responsible-Changed-By: feld 
Responsible-Changed-When: Sat Nov 2 23:08:36 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182293 
State-Changed-From-To: open->closed 
State-Changed-By: feld 
State-Changed-When: Sat Nov 2 23:13:37 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182293 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182293: commit references a PR
Date: Sat,  2 Nov 2013 23:13:36 +0000 (UTC)

 Author: feld
 Date: Sat Nov  2 23:13:23 2013
 New Revision: 332553
 URL: http://svnweb.freebsd.org/changeset/ports/332553
 
 Log:
   Support STAGE
   Fix build on FreeBSD 10+
   Use newer LIB_DEPENDS syntax
   
   PR:		ports/182293
   Approved by:	swills (mentor, implicit)
 
 Modified:
   head/devel/libopkele/Makefile
 
 Modified: head/devel/libopkele/Makefile
 ==============================================================================
 --- head/devel/libopkele/Makefile	Sat Nov  2 23:09:33 2013	(r332552)
 +++ head/devel/libopkele/Makefile	Sat Nov  2 23:13:23 2013	(r332553)
 @@ -11,13 +11,14 @@ MAINTAINER=	zhoushuqun@gmail.com
  COMMENT=	A c++ implementation of an OpenID decentralized identity system
  
  BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 -LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
 -		pcre.3:${PORTSDIR}/devel/pcre \
 -		expat.6:${PORTSDIR}/textproc/expat2 \
 -		tidy:${PORTSDIR}/www/tidy-lib \
 -		xslt:${PORTSDIR}/textproc/libxslt
 +LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
 +		libpcre.so:${PORTSDIR}/devel/pcre \
 +		libexpat.so:${PORTSDIR}/textproc/expat2 \
 +		libtidy.so:${PORTSDIR}/www/tidy-lib \
 +		libxslt.so:${PORTSDIR}/textproc/libxslt
  
  USE_LDCONFIG=	yes
 +USE_GCC=	4.6
  USES=		gmake pkgconfig
  GNU_CONFIGURE=	yes
  CONFIGURE_ENV=	"OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
 @@ -29,7 +30,6 @@ LDFLAGS+=	-L${LOCALBASE}/lib
  # This port needs OpenSSL 0.9.8b which is present in 7.0 and up
  USE_OPENSSL=	yes
  
 -NO_STAGE=	yes
  .include <bsd.port.pre.mk>
  
  .include "${PORTSDIR}/Mk/bsd.openssl.mk"
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
