lang/mit-scheme: update to version 12.1
This commit is contained in:
parent
17aaa58859
commit
70bf4800d0
@ -1,75 +1,74 @@
|
||||
PORTNAME= mit-scheme
|
||||
PORTVERSION= 9.2
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 12.1
|
||||
CATEGORIES= lang scheme
|
||||
MASTER_SITES= GNU/mit-scheme/stable.pkg/${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-${MIT_SCHEME_ARCH}
|
||||
|
||||
MAINTAINER= olgeni@FreeBSD.org
|
||||
COMMENT= MIT Scheme: includes runtime, compiler, and edwin binaries
|
||||
WWW= https://www.swiss.ai.mit.edu/projects/scheme/
|
||||
WWW= https://www.gnu.org/software/mit-scheme/
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= as:devel/binutils
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= gmake libtool ncurses
|
||||
WRKSRC= ${WRKDIR}/mit-scheme-${PORTVERSION}/src/
|
||||
|
||||
OPTIONS_DEFINE= GDBM MCRYPT MHASH OPENSSL PGSQL X11
|
||||
OPTIONS_DEFINE= BLOWFISH EDWIN GDBM IMAIL PGSQL X11
|
||||
OPTIONS_DEFAULT= BLOWFISH EDWIN GDBM IMAIL PGSQL X11
|
||||
OPTIONS_SUB= yes
|
||||
MCRYPT_DESC= mcrypt library support
|
||||
MHASH_DESC= mhash library support
|
||||
|
||||
IMAIL_IMPLIES= EDWIN
|
||||
BLOWFISH_DESC= blowfish library support
|
||||
GDBM_DESC= gdbm library support
|
||||
EDWIN_DESC= Edwin editor support
|
||||
IMAIL_DESC= Imail mail reader support
|
||||
PGSQL_DESC= pgsql library support
|
||||
X11_DESC= X11 graphics support
|
||||
|
||||
BLOWFISH_CONFIGURE_ENABLE= blowfish
|
||||
BLOWFISH_CONFIGURE_OFF= --disable-blowfish
|
||||
GDBM_CONFIGURE_ENABLE= gdbm
|
||||
MCRYPT_CONFIGURE_ENABLE= mcrypt
|
||||
MHASH_CONFIGURE_ENABLE= mhash
|
||||
OPENSSL_CONFIGURE_ENABLE= openssl
|
||||
GDBM_CONFIGURE_OFF= --disable-gdbm
|
||||
EDWIN_CONFIGURE_ENABLE= edwin
|
||||
EDWIN_CONFIGURE_OFF= --disable-edwin
|
||||
IMAIL_CONFIGURE_ENABLE= imail
|
||||
IMAIL_CONFIGURE_OFF= --disable-imail
|
||||
PGSQL_CONFIGURE_ENABLE= pgsql
|
||||
PGSQL_CONFIGURE_OFF= --disable-pgsql
|
||||
X11_CONFIGURE_ENABLE= x11
|
||||
X11_CONFIGURE_OFF= --disable-x11
|
||||
|
||||
GDBM_CONFIGURE_WITH= gdbm=${LOCALBASE}
|
||||
MCRYPT_CONFIGURE_WITH= mcrypt=${LOCALBASE}
|
||||
MHASH_CONFIGURE_WITH= mhash=${LOCALBASE}
|
||||
OPENSSL_CONFIGURE_WITH= openssl
|
||||
PGSQL_CONFIGURE_WITH= libpq=${LOCALBASE}
|
||||
X11_CONFIGURE_WITH= x
|
||||
|
||||
OPENSSL_USES= ssl
|
||||
PGSQL_USES= pgsql
|
||||
BLOWFISH_USES= makeinfo
|
||||
GDBM_USES= localbase:ldflags makeinfo
|
||||
PGSQL_USES= pgsql pkgconfig
|
||||
X11_USES= xorg
|
||||
X11_USE= xorg=x11
|
||||
X11_USE= XORG=x11
|
||||
|
||||
GDBM_LIB_DEPENDS+= libgdbm.so:databases/gdbm
|
||||
MHASH_LIB_DEPENDS+= libmhash.so:security/mhash
|
||||
MCRYPT_LIB_DEPENDS+= libmcrypt.so:security/libmcrypt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
MIT_SCHEME_ARCH=x86-64
|
||||
.else
|
||||
MIT_SCHEME_ARCH=${ARCH}
|
||||
.endif
|
||||
MIT_SCHEME_ARCH= x86-64
|
||||
|
||||
PLIST_SUB+= MIT_SCHEME_ARCH=${MIT_SCHEME_ARCH}
|
||||
PLIST_SUB+= MIT_SCHEME_ARCH=${MIT_SCHEME_ARCH} \
|
||||
PORTVERSION=${PORTVERSION}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-export-dynamic|-rdynamic|g' ${WRKSRC}/microcode/configure ${WRKSRC}/microcode/configure.ac
|
||||
do-build:
|
||||
@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${MAKE_CMD}
|
||||
|
||||
post-build:
|
||||
@${FIND} ${WRKDIR} -type d -empty -delete
|
||||
|
||||
do-build:
|
||||
@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src/microcode && ${MAKE_CMD}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${MAKE_CMD} install DESTDIR=${STAGEDIR}
|
||||
${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/scheme.1 ${STAGEDIR}${PREFIX}/share/man/man1/
|
||||
${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/mit-scheme.1 ${STAGEDIR}${PREFIX}/share/man/man1/
|
||||
|
||||
[ $$(${LS} ${STAGEDIR}${PREFIX}/lib/mit-scheme-${MIT_SCHEME_ARCH}/lib/ | wc -l) = 0 ] || \
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mit-scheme-${MIT_SCHEME_ARCH}/lib/*.so
|
||||
post-install:
|
||||
@${FIND} ${STAGEDIR}${PREFIX}/lib -name "*-shim.so" -exec ${STRIP_CMD} {} \;
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
SHA256 (mit-scheme-9.2-i386.tar.gz) = 86c9a300cd3766fbe798b4902d0e7df9b5a53d8152c13bd26ae5a8e2a0bdb4ba
|
||||
SIZE (mit-scheme-9.2-i386.tar.gz) = 55016705
|
||||
SHA256 (mit-scheme-9.2-x86-64.tar.gz) = e408d45de0f3f14a86c5f719e5bcbb579338dcaea71609dc3209479061ef7fea
|
||||
SIZE (mit-scheme-9.2-x86-64.tar.gz) = 60636136
|
||||
TIMESTAMP = 1749318603
|
||||
SHA256 (mit-scheme-12.1-x86-64.tar.gz) = 8cfbb21b0e753ab8874084522e4acfec7cadf83e516098e4ab788368b748ae0c
|
||||
SIZE (mit-scheme-12.1-x86-64.tar.gz) = 96593485
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -3444,7 +3444,7 @@
|
||||
vax)
|
||||
mit_scheme_native_code=vax
|
||||
;;
|
||||
- x86_64)
|
||||
+ x86_64|amd64)
|
||||
mit_scheme_native_code=x86-64
|
||||
;;
|
||||
*)
|
||||
@ -1,44 +0,0 @@
|
||||
--- microcode/config.h.in.orig
|
||||
+++ microcode/config.h.in
|
||||
@@ -86,7 +86,7 @@
|
||||
#undef HAVE_FDATASYNC
|
||||
|
||||
/* Define to 1 if you have the `feclearexcept' function. */
|
||||
-#undef HAVE_FECLEAREXCEPT
|
||||
+#define HAVE_FECLEAREXCEPT 1
|
||||
|
||||
/* Define to 1 if you have the `fedisableexcept' function. */
|
||||
#undef HAVE_FEDISABLEEXCEPT
|
||||
@@ -101,10 +101,10 @@
|
||||
#undef HAVE_FEGETEXCEPT
|
||||
|
||||
/* Define to 1 if you have the `fegetexceptflag' function. */
|
||||
-#undef HAVE_FEGETEXCEPTFLAG
|
||||
+#define HAVE_FEGETEXCEPTFLAG 1
|
||||
|
||||
/* Define to 1 if you have the `fegetround' function. */
|
||||
-#undef HAVE_FEGETROUND
|
||||
+#define HAVE_FEGETROUND 1
|
||||
|
||||
/* Define to 1 if you have the `feholdexcept' function. */
|
||||
#undef HAVE_FEHOLDEXCEPT
|
||||
@@ -119,16 +119,16 @@
|
||||
#undef HAVE_FERAISEEXCEPT
|
||||
|
||||
/* Define to 1 if you have the `fesetenv' function. */
|
||||
-#undef HAVE_FESETENV
|
||||
+#define HAVE_FESETENV 1
|
||||
|
||||
/* Define to 1 if you have the `fesetexceptflag' function. */
|
||||
#undef HAVE_FESETEXCEPTFLAG
|
||||
|
||||
/* Define to 1 if you have the `fesetround' function. */
|
||||
-#undef HAVE_FESETROUND
|
||||
+#define HAVE_FESETROUND 1
|
||||
|
||||
/* Define to 1 if you have the `fetestexcept' function. */
|
||||
-#undef HAVE_FETESTEXCEPT
|
||||
+#define HAVE_FETESTEXCEPT 1
|
||||
|
||||
/* Define to 1 if you have the `feupdateenv' function. */
|
||||
#undef HAVE_FEUPDATEENV
|
||||
@ -1,11 +0,0 @@
|
||||
--- microcode/configure.orig
|
||||
+++ microcode/configure
|
||||
@@ -5214,7 +5214,7 @@
|
||||
vax)
|
||||
mit_scheme_native_code=vax
|
||||
;;
|
||||
- x86_64)
|
||||
+ x86_64|amd64)
|
||||
mit_scheme_native_code=x86-64
|
||||
;;
|
||||
*)
|
||||
@ -1,17 +0,0 @@
|
||||
--- microcode/uxtrap.h.orig
|
||||
+++ microcode/uxtrap.h
|
||||
@@ -413,6 +413,14 @@
|
||||
|
||||
#endif /* __IA32__ */
|
||||
|
||||
+#ifdef __x86_64__
|
||||
+
|
||||
+#if defined(__FreeBSD__)
|
||||
+# include <ucontext.h>
|
||||
+#endif
|
||||
+
|
||||
+#endif /* __x86_64__ */
|
||||
+
|
||||
#ifdef __alpha
|
||||
|
||||
#define HAVE_SIGCONTEXT
|
||||
@ -1,9 +0,0 @@
|
||||
--- etc/make-in-subdirs.sh.orig 2011-05-02 01:50:30.000000000 +0000
|
||||
+++ etc/make-in-subdirs.sh
|
||||
@@ -29,5 +29,5 @@ set -e
|
||||
TARGET=${1}
|
||||
shift
|
||||
for SUBDIR in "${@}"; do
|
||||
- run_cmd_in_dir "${SUBDIR}" make "${TARGET}"
|
||||
+ run_cmd_in_dir "${SUBDIR}" gmake "${TARGET}"
|
||||
done
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user