openbsd-ports/lang/guile/Makefile

56 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2012/07/07 10:15:24 jasper Exp $
COMMENT= GNU's Ubiquitous Intelligent Language for Extension
VERSION= 1.8.8
2009-10-11 14:49:12 -04:00
DISTNAME= guile-${VERSION}
REVISION= 0
2009-10-11 14:49:12 -04:00
SHARED_LIBS= guile 20.0 \
guile-srfi-srfi-1-v-3 3.2 \
guile-srfi-srfi-13-14-v-3 3.1 \
guile-srfi-srfi-4-v-3 3.1 \
guile-srfi-srfi-60-v-2 2.2 \
guilereadline-v-17 17.3
1999-03-22 00:49:07 -05:00
CATEGORIES= lang
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=guile/}
HOMEPAGE= http://www.gnu.org/software/guile/
2009-10-11 14:49:12 -04:00
# LGPLv2.1
2000-03-24 15:51:57 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-17 03:05:12 -05:00
WANTLIB= c gmp>=6 ltdl m ncurses pthread readline
2009-10-11 14:49:12 -04:00
2010-11-17 03:05:12 -05:00
LIB_DEPENDS= devel/gmp>=4.1 \
devel/libtool,-ltdl
RUN_DEPENDS= devel/slib
2009-10-11 14:49:12 -04:00
MODULES= devel/gettext
2000-02-12 03:02:07 -05:00
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
USE_LIBTOOL= Yes
USE_GMAKE= Yes
2012-07-07 05:11:59 -04:00
# Needed because otherwise regress tests won't build:
# warning: format '%ji' expects type 'intmax_t', but argument 4 has type 'scm_t_intmax'
CONFIGURE_ARGS+= --disable-error-on-warning
2009-10-11 14:49:12 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PTHREAD_CFLAGS=-pthread \
PTHREAD_LIBS=-pthread
2009-10-11 14:49:12 -04:00
V= ${VERSION:C,.[0-9]+$,,}
SUBST_VARS= V
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
2009-10-11 14:49:12 -04:00
${INSTALL_DATA} ${WRKSRC}/guile-config/guile.m4 ${PREFIX}/share/aclocal
# Create symlink from share/guile/slib to share/slib.
# This allows other ports to find guile.init.
@cd ${PREFIX}/share/guile && ln -s ../slib
.include <bsd.port.mk>