5516c94c9a
Changes in 2.2.4 (since 2.2.3): * New interfaces and functionality ** SRFI-71 (Extended LET-syntax for multiple values) Guile now includes SRFI-71, which extends let, let*, and letrec to support assigning multiple values. See "SRFI-71" in the manual for details. ** (web client) export 'http-request' procedure The 'http-request' procedure is the generalized procedure underneath 'http-get', 'http-post', etc. ** GDB support now registers the 'guile-backtrace' GDB command The 'guile-backtrace' GDB command displays a backtrace of the VM stack for the current thread. ** Recognize RISC-V compilation targets in (system base target) * Bug fixes ** Fix stack-marking bug affecting multi-threaded programs (<https://bugs.gnu.org/28211>) ** Add missing SYNC_IP calls in the VM These could cause multi-threaded code to crash. ** Fix multi-threaded access to modules (<https://bugs.gnu.org/30602>, <https://bugs.gnu.org/31879>, and <https://bugs.gnu.org/31878>) ** (ice-9 match) now has better documentation ** 'get-bytevector-n' and 'get-bytevector-n!' can now read more than 4 GB ** Fix cross-compilation support for elisp ** Fix error reporting in 'load-thunk-from-memory' ** Fix GOOPS 'instance?' to work on objects that aren't structs (<https://bugs.gnu.org/31606>) ** Fix type inference for bitwise logical operators (<https://bugs.gnu.org/31474>) ** Avoid inexact arithmetic in the type inferrer for 'sqrt' ** Fix floating point unboxing regression in 2.2.3 (<https://bugs.gnu.org/30020>) ** Fix eta-conversion edge cases in peval (<https://bugs.gnu.org/29520>) ** Correctly interpret SRFI-18 timeout parameters (<https://bugs.gnu.org/29704>) ** 'select' returns empty sets upon EINTR and EAGAIN (<https://bugs.gnu.org/30368>) ** Restore pre-2.2.3 '%fresh-auto-compile' behavior This reverts an incorrect fix for <https://bugs.gnu.org/29226>.
79 lines
2.6 KiB
Makefile
79 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2018/08/16 11:25:57 wiz Exp $
|
|
|
|
DISTNAME= guile-2.2.4
|
|
PKGNAME= ${DISTNAME:S/guile/guile22/}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.gnu.org/gnu/guile/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.gnu.org/software/guile/
|
|
COMMENT= Official extension language for the GNU operating system
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
# Currently, 2.0 is primary.
|
|
GUILE_SUBDIR= guile/2.2
|
|
#GUILE_SUBDIR= # empty
|
|
|
|
# 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+= SHELL=${CONFIG_SHELL}
|
|
|
|
.if !empty(GUILE_SUBDIR)
|
|
# Installation prefix is non-default.
|
|
GUILE_PREFIX= ${PREFIX}/${GUILE_SUBDIR}
|
|
CONFIGURE_ARGS+= --prefix=${GUILE_PREFIX:Q}
|
|
CONFIGURE_ARGS+= --infodir=${GUILE_PREFIX:Q}/info
|
|
CONFIGURE_ARGS+= --mandir=${GUILE_PREFIX:Q}/man
|
|
BUILDLINK_PASSTHRU_DIRS+= ${GUILE_PREFIX}
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${GUILE_PREFIX}/lib
|
|
.else
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX:Q}/${PKGINFODIR:Q}
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}
|
|
.endif
|
|
|
|
INFO_FILES= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= meta/guile-2.2.pc.in
|
|
# known broken: test-loose-ends on NetBSD/current
|
|
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24003
|
|
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
|
|
|
|
OPSYSVARS+= GUILE_LIBNAME
|
|
GUILE_LIBNAME.Darwin= a
|
|
GUILE_LIBNAME.FreeBSD= so.30
|
|
GUILE_LIBNAME.*= so.22.8.1
|
|
|
|
PLIST_SUBST+= GUILE_LIBNAME=${GUILE_LIBNAME}
|
|
PRINT_PLIST_AWK+= {gsub(/${GUILE_LIBNAME}/, "$${GUILE_LIBNAME}");}
|
|
|
|
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24002
|
|
post-configure:
|
|
${ECHO} '#define FLEXIBLE_ARRAY_MEMBER /**/' >> ${WRKSRC}/config.h
|
|
|
|
.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"
|