1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/lang/ecl/Makefile
Antoine Brodin c4670741e4 Mark broken: Fails to link with new libgc
cc -L/usr/local/lib -pthread -Wl,--rpath,/usr/local/lib -L/usr/local/lib -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a -leclatomic  -lgmp -lgc-threaded -lffi -pthread   -lm ;\
fi
libeclmin.a(cosh.o): In function `ecl_cosh_long_float':
numbers/cosh.o.c:(.text+0x151): warning: coshl has lower than advertised precision
libeclmin.a(sinh.o): In function `ecl_sinh_long_float':
numbers/sinh.o.c:(.text+0x151): warning: sinhl has lower than advertised precision
libeclmin.a(tanh.o): In function `ecl_tanh_long_float':
numbers/tanh.o.c:(.text+0x151): warning: tanhl has lower than advertised precision
libeclmin.a(alloc_2.o): In function `init_alloc':
alloc_2.o.c:(.text+0x614): undefined reference to `GC_start_call_back'
libeclmin.a(alloc_2.o): In function `si_gc_stats':
alloc_2.o.c:(.text+0xcfb): undefined reference to `GC_print_stats'
alloc_2.o.c:(.text+0xdf6): undefined reference to `GC_print_stats'
alloc_2.o.c:(.text+0xe30): undefined reference to `GC_print_stats'

Reported by:	pkg-fallout
2014-08-02 23:44:55 +00:00

91 lines
2.0 KiB
Makefile

# Created by: Julian Stecklina
# $FreeBSD$
PORTNAME= ecl
PORTVERSION= 13.5.1
CATEGORIES= lang lisp
MASTER_SITES= SF/${PORTNAME}s/${PORTNAME}s/13.5/
MAINTAINER= olgeni@FreeBSD.org
COMMENT= ANSI Common Lisp implementation
BROKEN= Fails to link with new libgc
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
MAKE_JOBS_UNSAFE= yes
USES= gmake perl5 tar:tgz
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-system-gmp --with-gmp-prefix=${LOCALBASE} --enable-boehm=system
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
OPTIONS_DEFINE= ASDF CLX DFFI SOCKETS THREADS
OPTIONS_DEFAULT=ASDF DFFI SOCKETS THREADS
ASDF_DESC= Enable ASDF building facility
CLX_DESC= Enable X11 interface
SOCKETS_DESC= Enable socket interface
DFFI_DESC= Dynamic foreign-function support
PLIST_SUB= VERSION="${PORTVERSION}"
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not compile on ${ARCH}
.endif
.if ${PORT_OPTIONS:MASDF}
CONFIGURE_ARGS+=--with-asdf=yes
PLIST_SUB+= ASDF=""
.else
CONFIGURE_ARGS+=--with-asdf=no
PLIST_SUB+= ASDF="@comment "
.endif
.if ${PORT_OPTIONS:MCLX}
USE_XORG= x11
CONFIGURE_ARGS+=--with-clx=yes
PLIST_SUB+= CLX=""
.else
CONFIGURE_ARGS+=--with-clx=no
PLIST_SUB+= CLX="@comment "
.endif
.if ${PORT_OPTIONS:MSOCKETS}
CONFIGURE_ARGS+=--with-tcp=yes
PLIST_SUB+= SOCKETS=""
.else
CONFIGURE_ARGS+=--with-tcp=no
PLIST_SUB+= SOCKETS="@comment "
.endif
.if ${PORT_OPTIONS:MDFFI}
CONFIGURE_ARGS+=--with-dffi=system
LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi
.else
CONFIGURE_ARGS+=--with-dffi=no
.endif
.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+=--enable-threads=yes
LDFLAGS+= ${PTHREAD_LIBS}
LIB_DEPENDS+= libgc-threaded.so:${PORTSDIR}/devel/boehm-gc-threaded
PLIST_SUB+= THREADS=""
.else
CONFIGURE_ARGS+=--enable-threads=no
LIB_DEPENDS+= libgc.so:${PORTSDIR}/devel/boehm-gc
PLIST_SUB+= THREADS="@comment "
.endif
.if ${PORT_OPTIONS:MTHREADS}
post-patch:
@${REINPLACE_CMD} -e 's|-lgc|-lgc-threaded|' \
-e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/src/configure
.endif
.include <bsd.port.post.mk>