aboutsummaryrefslogtreecommitdiff
path: root/science/libctl
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-04-15 17:29:36 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-04-15 17:29:36 +0000
commit887875222060efd73044257eb671338f9d65d1ba (patch)
treee666e526ced3e895876050d0b839941957a61b74 /science/libctl
parenteb479105c2a437d5c31b0ace1054fe9f72bc073f (diff)
downloadports-887875222060efd73044257eb671338f9d65d1ba.tar.gz
ports-887875222060efd73044257eb671338f9d65d1ba.zip
- 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)
Notes
Notes: svn path=/head/; revision=315805
Diffstat (limited to 'science/libctl')
-rw-r--r--science/libctl/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/science/libctl/Makefile b/science/libctl/Makefile
index 24717f9e16e6..8c61140e7e0c 100644
--- a/science/libctl/Makefile
+++ b/science/libctl/Makefile
@@ -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}