pkgsrc/lang/guile/Makefile

79 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.97 2011/05/12 12:15:41 dmcmahill Exp $
DISTNAME= guile-1.8.8
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=guile/}
2005-10-16 23:01:19 +02:00
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/guile/guile.html
COMMENT= GNU's Ubiquitous Intelligent Language for Extension
Update to 1.8.7, set LICENSE. Changes in 1.8.7 (since 1.8.6) * Bugs fixed ** Fix compilation with `--disable-deprecated' ** Fix %fast-slot-ref/set!, to avoid possible segmentation fault ** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion ** Fix build problem when scm_t_timespec is different from struct timespec ** Fix build when compiled with -Wundef -Werror ** More build fixes for `alphaev56-dec-osf5.1b' (Tru64) ** Build fixes for `powerpc-ibm-aix5.3.0.0' (AIX 5.3) ** With GCC, always compile with `-mieee' on `alpha*' and `sh*' ** Better diagnose broken `(strftime "%z" ...)' in `time.test' (bug #24130) ** Fix parsing of SRFI-88/postfix keywords longer than 128 characters ** Fix reading of complex numbers where both parts are inexact decimals ** Allow @ macro to work with (ice-9 syncase) Previously, use of the @ macro in a module whose code is being transformed by (ice-9 syncase) would cause an "Invalid syntax" error. Now it works as you would expect (giving the value of the specified module binding). ** Have `scm_take_locale_symbol ()' return an interned symbol (bug #25865) ** Fix potential deadlocks when running on multiple threads ** Fix problems building with the i586-mingw32msvc cross-compiler It's now possible to build Guile for Windows by using the i586-mingw32msvc cross-compiler on GNU/Linux. This kind of build produces DLLs and a main program that can be copied to and used on a Windows PC. For how to do this, see the `Cross building Guile' section in `README'.
2009-08-16 16:00:50 +02:00
LICENSE= gnu-lgpl-v2.1
CONFLICTS= guile14<1.4.1nb1 guile-oops-[0-9]*
2008-01-04 19:17:16 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
2008-01-04 15:48:26 +01:00
GNU_CONFIGURE= YES
USE_TOOLS+= gmake makeinfo
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
PTHREAD_AUTO_VARS= YES
INFO_FILES= YES
PKGCONFIG_OVERRIDE= guile-1.8.pc.in
# XXX Make this conditional on the problematic systems.
# couldn't figure out how to work around an error on solaris-2.9/sparc with gcc when
# compiling ${WRKSRC}/libguile/filesys.c. The warning is that readdir64_r was missing
2007-10-09 21:19:08 +02:00
# a prototype.
CONFIGURE_ARGS+= --disable-error-on-warning
#CONFIGURE_ARGS+= --without-threads
TEST_DIRS= .
TEST_TARGET= check
OWN_DIRS= ${PREFIX}/share/guile/site
2004-05-16 19:52:11 +02:00
.include "../../mk/bsd.prefs.mk"
# scmconfig.h will be rebuilt first thing. This hack is here because
# gen-scmconfig.c includes string.h (from /usr/include) which in turn
# tries to include /usr/include/strings.h but instead the compiler picks
# up ./strings.h which tries to include scmconfig.h which doesn't exist
# yet. While not a clean fix, this seems to work around the problem.
#
2007-10-09 21:19:08 +02:00
#
# for info on the slib part, see
# http://lists.gnu.org/archive/html/guile-user/2006-11/msg00035.html
post-patch:
${TOUCH} ${WRKSRC}/libguile/scmconfig.h
${ECHO} "(define-module (ice-9 slib))" > ${WRKSRC}/ice-9/slib.scm
${ECHO} "(load-from-path \"slib/guile.init\")" >> ${WRKSRC}/ice-9/slib.scm
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= ac_cv_type_complex_double=no
.endif
2004-05-16 19:52:11 +02:00
.if ${OPSYS} == "Darwin"
CPPFLAGS+= -Dmacosx
# Darwin does not use -rpath, so back out the patch that adds it. It
# is not clear that guile works properly if directories with modules
# are not in LTDL_LIBRARY_PATH or LD_LIBRARY_PATH. See the following
# PRs:
# http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=33665
# http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=36975
2008-03-29 06:12:16 +01:00
post-patch: post-patch-darwin
post-patch-darwin: .PHONY
${MV} ${WRKSRC}/guile-config/guile-config.in.orig \
2004-05-16 19:52:11 +02:00
${WRKSRC}/guile-config/guile-config.in
.endif
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
2004-02-11 08:11:28 +01:00
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"