openbsd-ports/lang/hugs/Makefile
dons a926eea62b Disable the ffi on all platforms. Too flakey, caused ffihugs to dump
core on sparc64. No ffi was the old hugs' behaviour.
Also respect $CC while we're here.

Tested and fixed by sturm@ with some help from me
Ok sturm@ pvalchev@
2004-05-17 02:24:32 +00:00

35 lines
891 B
Makefile

# $OpenBSD: Makefile,v 1.5 2004/05/17 02:24:32 dons Exp $
COMMENT= "Haskell 98 interpreter"
V= Nov2003
DISTNAME= hugs98-${V}
CATEGORIES= lang
MAINTAINER= Don Stewart <dons@openbsd.org>
HOMEPAGE= http://www.haskell.org/hugs/
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/${V}/
MASTER_SITES0= ftp://ftp.cse.unsw.edu.au/pub/users/dons/hugs98/
DISTFILES= ${DISTNAME}.tar.gz ${DISTNAME}-regress.tar.bz2:0
CONFIGURE_STYLE=dest
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}"
CONFIGURE_ARGS+=--with-pthreads --disable-ffi --libdir=${PREFIX}/share
WRKBUILD= ${WRKDIST}/src
ALL_TARGET=
do-configure:
@(cd ${WRKBUILD}/unix && ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
do-regress:
@(cd ${WRKDIST}/tests && sh testScript static tcheck rts libs)
# BSDish
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>