aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-04-16 01:29:36 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-04-16 01:29:36 +0800
commitb82dd5e44212b3a6355c50b12ffdbdfcdf41f8b4 (patch)
treee666e526ced3e895876050d0b839941957a61b74 /science
parentf009d448db6c71b0c1ffa753ac21e23607da45a2 (diff)
downloadfreebsd-ports-gnome-b82dd5e44212b3a6355c50b12ffdbdfcdf41f8b4.tar.gz
freebsd-ports-gnome-b82dd5e44212b3a6355c50b12ffdbdfcdf41f8b4.tar.zst
freebsd-ports-gnome-b82dd5e44212b3a6355c50b12ffdbdfcdf41f8b4.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)
Diffstat (limited to 'science')
-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}