1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- # $OpenBSD: Makefile,v 1.13 2017/05/31 08:08:16 espie Exp $
- COMMENT= GNU's Ubiquitous Intelligent Language for Extension
- # '
- VERSION= 2.2.2
- DISTNAME= guile-${VERSION}
- PKGNAME= guile2-${VERSION}
- V= ${VERSION:C,.[0-9]+$,,}
- SUBST_VARS= V
- CATEGORIES= lang
- HOMEPAGE= https://www.gnu.org/software/guile/
- SHARED_LIBS += guile-2.2 0.0 # 3.0
- # GPLv3, LGPLv3
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += c ffi gc gmp iconv intl ltdl m ncurses pthread readline
- WANTLIB += unistring
- MASTER_SITES= ${MASTER_SITE_GNU:=guile/}
- # internal compiler error: in unify_nodes, at tree-ssa-structalias.c:1231
- COMPILER = gcc
- COMPILER_LANGS = c
- USE_GMAKE= Yes
- RUN_DEPENDS= devel/slib
- LIB_DEPENDS= converters/libunistring \
- devel/boehm-gc \
- devel/gettext \
- devel/gmp \
- devel/libffi \
- devel/libtool,-ltdl
- CONFIGURE_STYLE= gnu
- CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
- CONFIGURE_ARGS= --program-transform-name="s,guile,guile2,"
- # 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
- post-install:
- install -d ${PREFIX}/share/guile/site/${V}/
- # fix conflict with devel/guile
- mv ${PREFIX}/share/aclocal/guile{,2}.m4
- rm -rf ${PREFIX}/info
- .include <bsd.port.mk>
|