openbsd-ports/lang/chicken/Makefile
jasper 04b040c25c - switch chicken to use libffi
- regen PLIST

maintained timed-out
2009-10-09 13:03:22 +00:00

53 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2009/10/09 13:03:22 jasper Exp $
COMMENT= practical and portable Scheme system
DISTNAME= chicken-2.6
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += chicken 1.0 # .0.0
SHARED_LIBS += uchicken 1.0 # .0.0
CATEGORIES= lang
HOMEPAGE= http://www.call-with-current-continuation.org/
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
MASTER_SITES= ${HOMEPAGE}
WANTLIB= c m
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIB_DEPENDS+= ffi::devel/libffi
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_TARGET= bench
REGRESS_DEPENDS= :${PKGNAME}:lang/chicken
CFLAGS+= -I${LOCALBASE}/include
# gcc 3.3.5 internal compiler error
.if ${MACHINE_ARCH} == "sparc64"
EXTRA_CFLAGS= -O0
.endif
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
pre-configure:
${SUBST_CMD} ${WRKSRC}/cscbench.scm
.include <bsd.port.mk>