Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2013 17:29:37 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315805 - head/science/libctl
Message-ID:  <201304151729.r3FHTbYK004381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Apr 15 17:29:36 2013
New Revision: 315805
URL: http://svnweb.freebsd.org/changeset/ports/315805

Log:
  - Does not build on 8.3-i386. Does build ok on 9.1-i386.
  
  ports/155546 may fix this. The issue is that the libtool linking stage
  is not respecting the CC=gcc46 environment that is used to compile
  the rest of the port first. This causes the linking to use 'cc' instead.
  
  .libs/ctl.o(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
  : multiple definition of `__i686.get_pc_thunk.bx'
  /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
  *** Error code 1
  
  Approved by:	portmgr (implicit)

Modified:
  head/science/libctl/Makefile

Modified: head/science/libctl/Makefile
==============================================================================
--- head/science/libctl/Makefile	Mon Apr 15 15:24:54 2013	(r315804)
+++ head/science/libctl/Makefile	Mon Apr 15 17:29:36 2013	(r315805)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection Makefile for:	libctl
-# Date created:			Apr 4, 2003
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	libctl
 PORTVERSION=	3.1
@@ -29,6 +24,10 @@ MAN1=		gen-ctl-io.1
 BROKEN=		does not build
 .endif
 
+.if ${ARCH} == i386 && ${OSVERSION} < 901000
+BROKEN=		does not link due to libtool not respecting CC
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}



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