1d78de338b
GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library that implements the Scheme language plus various convenient facilities. It's designed so that you can link it into an application or utility to make it extensible. Our plan is to link this library into all GNU programs that call for extensibility. This is guile 2.0, the current stable version.
54 lines
1.8 KiB
Makefile
54 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2014/11/01 13:24:37 wiz Exp $
|
|
|
|
DISTNAME= guile-2.0.11
|
|
PKGNAME= ${DISTNAME:S/guile/guile20/}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.gnu.org/gnu/guile/
|
|
|
|
MAINTAINER= root@zta.lk
|
|
HOMEPAGE= ftp://ftp.gnu.org/gnu/guile/
|
|
COMMENT= Official extension language for the GNU operating system
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
GUILE_PREFIX= ${PREFIX}/guile/2.0
|
|
|
|
# guile does not like the --build and --host triplets on NetBSD
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-shared
|
|
# not until boehm-gc is threaded
|
|
CONFIGURE_ARGS+= --without-threads
|
|
CONFIGURE_ARGS+= --prefix=${GUILE_PREFIX}
|
|
CONFIGURE_ARGS+= --mandir=${GUILE_PREFIX}/${PKGMANDIR}
|
|
CONFIGURE_ARGS+= --infodir=${GUILE_PREFIX}/${PKGINFODIR}
|
|
|
|
BUILDLINK_PASSTHRU_DIRS+= ${GUILE_PREFIX}
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${GUILE_PREFIX}/lib
|
|
|
|
INFO_FILES= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= meta/guile-2.0.pc.in
|
|
TEST_TARGET= check
|
|
|
|
SUBST_CLASSES+= tools
|
|
SUBST_SED.tools+= -e "s,\\((define %pkg-config-program .\\).*\\(.)\\),\\1${PREFIX}/bin/pkg-config\\2,"
|
|
SUBST_STAGE.tools= post-build
|
|
SUBST_FILES.tools+= meta/guile-config
|
|
SUBST_MESSAGE.tools= Fixing path to pkg-config in installed file.
|
|
|
|
# XXX: less tests would fail if we made libunistring use GNU iconv too
|
|
#USE_GNU_ICONV= yes
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
.include "../../textproc/libunistring/buildlink3.mk"
|
|
# needs a particular bug fix on NetBSD
|
|
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=7.4.2nb1
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
|
.include "../../devel/libffi/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
#.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|