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)
41 lines
782 B
Makefile
41 lines
782 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libctl
|
|
PORTVERSION= 3.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= science math
|
|
MASTER_SITES= http://ab-initio.mit.edu/libctl/
|
|
|
|
MAINTAINER= devel@stasyan.com
|
|
COMMENT= Control Language Library
|
|
|
|
LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_FORTRAN= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= gen-ctl-io.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
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}
|
|
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|