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