Bug 182293 - Specify GCC version for devel/libopkele
Summary: Specify GCC version for devel/libopkele
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-22 13:00 UTC by Sutra
Modified: 2013-11-02 23:20 UTC (History)
0 users

See Also:


Attachments
file.diff (337 bytes, patch)
2013-09-22 13:00 UTC, Sutra
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sutra 2013-09-22 13:00:00 UTC
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

Fix: Patch attached with submission follows:
Comment 1 Mark Felder freebsd_committer freebsd_triage 2013-11-02 23:08:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->feld

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-02 23:13:36 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"
Comment 3 Mark Felder freebsd_committer freebsd_triage 2013-11-02 23:13:37 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!