Update Gambit-C to 4.6.0 With advent of git version control changes are unknown.diff -r1.7 -r1.8 pkgsrc/lang/gambc/Makefile
(asau)
@@ -1,39 +1,40 @@ | @@ -1,39 +1,40 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2008/08/31 09:17:56 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2010/11/23 21:22:11 asau Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= gambc-${GAMBC_DIST_VERSION} | 4 | DISTNAME= gambc-${GAMBC_DIST_VERSION} | |
5 | PKGNAME= gambc-${GAMBC_VERSION} | 5 | PKGNAME= gambc-${GAMBC_VERSION} | |
6 | CATEGORIES= lang | 6 | CATEGORIES= lang | |
7 | MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.2/source/ | 7 | MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/ | |
8 | EXTRACT_SUFX= .tgz | 8 | EXTRACT_SUFX= .tgz | |
9 | 9 | |||
10 | MAINTAINER= bjs@NetBSD.org | 10 | MAINTAINER= bjs@NetBSD.org | |
11 | HOMEPAGE= http://www.iro.umontreal.ca/~gambit/ | 11 | HOMEPAGE= http://www.iro.umontreal.ca/~gambit/ | |
12 | COMMENT= GambitC Scheme System | 12 | COMMENT= GambitC Scheme System | |
13 | 13 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | NOT_FOR_BULK_PLATFORM+= SunOS-*-* | 15 | NOT_FOR_BULK_PLATFORM+= SunOS-*-* | |
16 | 16 | |||
17 | # bin/scheme-r5rs | 17 | # bin/scheme-r5rs | |
18 | CONFLICTS+= scheme48>=1.2 | 18 | CONFLICTS+= scheme48>=1.2 | |
19 | 19 | |||
20 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes | |
21 | USE_LANGUAGES= c c++ | 21 | USE_LANGUAGES= c c++ | |
22 | USE_TOOLS+= gmake | 22 | USE_TOOLS+= gmake | |
23 | 23 | |||
24 | CONFIGURE_ARGS+= --enable-single-host | 24 | CONFIGURE_ARGS+= --enable-single-host | |
25 | CONFIGURE_ARGS+= --enable-cplusplus | 25 | CONFIGURE_ARGS+= --enable-cplusplus | |
26 | CONFIGURE_ARGS+= --enable-shared | 26 | CONFIGURE_ARGS+= --enable-shared | |
27 | CONFIGURE_ARGS+= --disable-absolute-shared-libs # DESTDIR bug? | |||
27 | ### | 28 | ### | |
28 | ### XXX On NetBSD/amd64 4.99.61, gcc had a resident memory size of over 384MB | 29 | ### XXX On NetBSD/amd64 4.99.61, gcc had a resident memory size of over 384MB | |
29 | ### while building this and ultimately exhausted all 1GB of swap I had. | 30 | ### while building this and ultimately exhausted all 1GB of swap I had. | |
30 | ### See the documentation for more information. (This was due to using | 31 | ### See the documentation for more information. (This was due to using | |
31 | ### -fmodulo-sched, gcc 4.1.3). | 32 | ### -fmodulo-sched, gcc 4.1.3). | |
32 | ### | 33 | ### | |
33 | CONFIGURE_ARGS+= --disable-gcc-opts | 34 | CONFIGURE_ARGS+= --disable-gcc-opts | |
34 | 35 | |||
35 | INFO_FILES= yes | 36 | INFO_FILES= yes | |
36 | MAKE_FILE= makefile | 37 | MAKE_FILE= makefile | |
37 | 38 | |||
38 | BUILD_TARGET+= bootstrap | 39 | BUILD_TARGET+= bootstrap | |
39 | TEST_TARGET= check | 40 | TEST_TARGET= check | |
@@ -46,29 +47,26 @@ TEST_TARGET= check | @@ -46,29 +47,26 @@ TEST_TARGET= check | |||
46 | .include "../../mk/bsd.prefs.mk" | 47 | .include "../../mk/bsd.prefs.mk" | |
47 | 48 | |||
48 | GAMBC_MAKE_FLAGS= prefix=${PREFIX} | 49 | GAMBC_MAKE_FLAGS= prefix=${PREFIX} | |
49 | GAMBC_MAKE_FLAGS+= includedir=${PREFIX}/include | 50 | GAMBC_MAKE_FLAGS+= includedir=${PREFIX}/include | |
50 | GAMBC_MAKE_FLAGS+= bindir=${PREFIX}/bin | 51 | GAMBC_MAKE_FLAGS+= bindir=${PREFIX}/bin | |
51 | GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} | 52 | GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} | |
52 | GAMBC_MAKE_FLAGS+= libdir=${PREFIX}/lib/ | 53 | GAMBC_MAKE_FLAGS+= libdir=${PREFIX}/lib/ | |
53 | GAMBC_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | 54 | GAMBC_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | |
54 | GAMBC_MAKE_FLAGS+= docdir=${PREFIX}/share/doc/${PKGBASE} | 55 | GAMBC_MAKE_FLAGS+= docdir=${PREFIX}/share/doc/${PKGBASE} | |
55 | GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} | 56 | GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} | |
56 | GAMBC_MAKE_FLAGS+= emacsdir=${PREFIX}/share/emacs/site-lisp | 57 | GAMBC_MAKE_FLAGS+= emacsdir=${PREFIX}/share/emacs/site-lisp | |
57 | 58 | |||
58 | MAKE_FLAGS+= ${GAMBC_MAKE_FLAGS} | 59 | MAKE_FLAGS+= ${GAMBC_MAKE_FLAGS} | |
59 | INSTALL_MAKE_FLAGS+= ${GAMBC_MAKE_FLAGS:@.f.@\ | |||
60 | ${.f.:C|${PREFIX}|${DESTDIR}&|}\ | |||
61 | @:M*} | |||
62 | 60 | |||
63 | SUBST_CLASSES+= build | 61 | SUBST_CLASSES+= build | |
64 | SUBST_FILES.build= configure | 62 | SUBST_FILES.build= configure | |
65 | SUBST_FILES.build+= makefile.in */makefile.in */*/makefile.in | 63 | SUBST_FILES.build+= makefile.in */makefile.in */*/makefile.in | |
66 | SUBST_MESSAGE.build= Preparing build-time and installation configuration. | 64 | SUBST_MESSAGE.build= Preparing build-time and installation configuration. | |
67 | SUBST_SED.build= -e 's|v${GAMBC_DIST_VERSION}||' | 65 | SUBST_SED.build= -e 's|v${GAMBC_DIST_VERSION}||' | |
68 | SUBST_SED.build+= -e 's|@target_vendor@|The NetBSD Foundation, Inc.|g' | 66 | SUBST_SED.build+= -e 's|@target_vendor@|The NetBSD Foundation, Inc.|g' | |
69 | SUBST_STAGE.build= pre-configure | 67 | SUBST_STAGE.build= pre-configure | |
70 | SUBST_VARS.build+= PACKAGE_SUBDIR PACKAGE_VERSION | 68 | SUBST_VARS.build+= PACKAGE_SUBDIR PACKAGE_VERSION | |
71 | SUBST_VARS.build+= PACKAGE_STRING | 69 | SUBST_VARS.build+= PACKAGE_STRING | |
72 | 70 | |||
73 | PACKAGE_SUBDIR= # empty | 71 | PACKAGE_SUBDIR= # empty | |
74 | PACKAGE_VERSION= ${PKGVERSION} | 72 | PACKAGE_VERSION= ${PKGVERSION} |
@@ -1,39 +1,42 @@ | @@ -1,39 +1,42 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2009/06/14 18:03:31 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2010/11/23 21:22:11 asau Exp $ | |
2 | bin/gambc-cc.bat | |||
3 | bin/gambc-doc.bat | |||
2 | bin/gsc | 4 | bin/gsc | |
3 | bin/gsc-cc-o.bat | |||
4 | bin/gsc-script | 5 | bin/gsc-script | |
5 | bin/gsi | 6 | bin/gsi | |
6 | bin/gsi-script | 7 | bin/gsi-script | |
7 | bin/scheme-ieee-1178-1990 | 8 | bin/scheme-ieee-1178-1990 | |
8 | bin/scheme-r4rs | 9 | bin/scheme-r4rs | |
9 | bin/scheme-r5rs | 10 | bin/scheme-r5rs | |
10 | bin/scheme-srfi-0 | 11 | bin/scheme-srfi-0 | |
11 | bin/six | 12 | bin/six | |
12 | bin/six-script | 13 | bin/six-script | |
13 | include/gambit.h | |||
14 | include/gambit-not.h | 14 | include/gambit-not.h | |
15 | include/gambit.h | |||
15 | info/gambit-c.info | 16 | info/gambit-c.info | |
16 | lib/_eval#.scm | 17 | lib/_eval#.scm | |
17 | lib/_gambc.c | 18 | lib/_gambc.c | |
18 | lib/_gambcgsc.c | 19 | lib/_gambcgsc.c | |
19 | lib/_gambcgsi.c | 20 | lib/_gambcgsi.c | |
20 | lib/_gambit#.scm | 21 | lib/_gambit#.scm | |
21 | lib/_io#.scm | 22 | lib/_io#.scm | |
22 | lib/_kernel#.scm | 23 | lib/_kernel#.scm | |
23 | lib/_nonstd#.scm | 24 | lib/_nonstd#.scm | |
24 | lib/_num#.scm | 25 | lib/_num#.scm | |
25 | lib/_repl#.scm | 26 | lib/_repl#.scm | |
26 | lib/_std#.scm | 27 | lib/_std#.scm | |
27 | lib/_system#.scm | 28 | lib/_system#.scm | |
28 | lib/_thread#.scm | 29 | lib/_thread#.scm | |
29 | lib/digest#.scm | 30 | lib/digest#.scm | |
30 | lib/digest.scm | 31 | lib/digest.scm | |
31 | lib/gambit#.scm | 32 | lib/gambit#.scm | |
32 | lib/libgambc.so | 33 | lib/libgambc.so | |
33 | lib/libgambcgsc.so | 34 | lib/libgambcgsc.so | |
34 | lib/libgambcgsi.so | 35 | lib/libgambcgsi.so | |
35 | lib/r4rs#.scm | 36 | lib/r4rs#.scm | |
36 | lib/r5rs#.scm | 37 | lib/r5rs#.scm | |
38 | lib/syntax-case.scm | |||
39 | man/man1/gsi.1 | |||
37 | share/doc/gambc/gambit-c.html | 40 | share/doc/gambc/gambit-c.html | |
38 | share/doc/gambc/gambit-c.pdf | 41 | share/doc/gambc/gambit-c.pdf | |
39 | share/doc/gambc/gambit-c.txt | 42 | share/doc/gambc/gambit-c.txt |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2009/07/20 18:18:10 hasso Exp $ | 1 | $NetBSD: distinfo,v 1.4 2010/11/23 21:22:11 asau Exp $ | |
2 | 2 | |||
3 | SHA1 (gambc-v4_2_8.tgz) = 785cb0667c7bfb554cd584413eed8bdb9f4a6077 | 3 | SHA1 (gambc-v4_6_0.tgz) = c95dd64aa917ea5b07403c3a77536b07413f38d9 | |
4 | RMD160 (gambc-v4_2_8.tgz) = ae51ee03c9fcd6da55102e4cf2d72b2e48161d70 | 4 | RMD160 (gambc-v4_6_0.tgz) = 90d73552123b3c9380afbbe3e6c8f1496ba60103 | |
5 | Size (gambc-v4_2_8.tgz) = 14255377 bytes | 5 | Size (gambc-v4_6_0.tgz) = 8196859 bytes | |
6 | SHA1 (patch-aa) = 73f5408fbfda26e7fca5f3547d68af1809107959 | 6 | SHA1 (patch-aa) = 0c87076ccab2483865d269a6a3542e83b76563c5 | |
7 | SHA1 (patch-ab) = d49f8dc9d33648536bc34f0efec88f2e6ee8c2c8 | 7 | SHA1 (patch-ab) = d49f8dc9d33648536bc34f0efec88f2e6ee8c2c8 |
@@ -1,10 +1,10 @@ | @@ -1,10 +1,10 @@ | |||
1 | # $NetBSD: version.mk,v 1.2 2008/07/16 07:14:36 bjs Exp $ | 1 | # $NetBSD: version.mk,v 1.3 2010/11/23 21:22:11 asau Exp $ | |
2 | ### | 2 | ### | |
3 | .if !defined(GAMBC_VERSION_MK) | 3 | .if !defined(GAMBC_VERSION_MK) | |
4 | GAMBC_VERSION_MK= # empty | 4 | GAMBC_VERSION_MK= # empty | |
5 | ### | 5 | ### | |
6 | ### The package version sets the distribution version. | 6 | ### The package version sets the distribution version. | |
7 | ### | 7 | ### | |
8 | GAMBC_VERSION= 4.2.8 | 8 | GAMBC_VERSION= 4.6.0 | |
9 | GAMBC_DIST_VERSION= ${GAMBC_VERSION:C|^.*|v&|:S|.|_|g} | 9 | GAMBC_DIST_VERSION= ${GAMBC_VERSION:C|^.*|v&|:S|.|_|g} | |
10 | .endif | 10 | .endif |
@@ -1,28 +1,13 @@ | @@ -1,28 +1,13 @@ | |||
1 | $NetBSD: patch-aa,v 1.2 2008/07/16 07:14:36 bjs Exp $ | 1 | $NetBSD: patch-aa,v 1.3 2010/11/23 21:22:11 asau Exp $ | |
2 | 2 | |||
3 | --- makefile.in.orig 2008-05-17 08:43:44.000000000 -0400 | 3 | --- makefile.in.orig 2009-08-02 01:29:10.000000000 +0400 | |
4 | +++ makefile.in | 4 | +++ makefile.in 2010-08-12 13:47:00.000000000 +0400 | |
5 | @@ -56,7 +56,7 @@ includedir=$(includedir) libdir=$(libdir | 5 | @@ -70,7 +70,7 @@ | |
6 | bindir=$(bindir) docdir=$(docdir) \ | 6 | bindir=$(bindir) docdir=$(docdir) \ | |
7 | infodir=$(infodir) emacsdir=$(emacsdir) | 7 | infodir=$(infodir) emacsdir=$(emacsdir) | |
8 | 8 | |||
9 | -SUBDIRS = include lib gsi gsc bin misc doc tests examples prebuilt | 9 | -SUBDIRS = include lib gsi gsc bin misc doc tests examples prebuilt | |
10 | +SUBDIRS = include lib gsi gsc bin doc tests examples | 10 | +SUBDIRS = include lib gsi gsc bin doc tests examples | |
11 | 11 | |||
12 | RCFILES = README INSTALL.txt LICENSE-2.0.txt LGPL.txt \ | 12 | RCFILES = README INSTALL.txt LICENSE-2.0.txt LGPL.txt \ | |
13 | makefile.in configure configure.ac config.guess config.sub install-sh mkidirs \ | 13 | makefile.in configure configure.ac config.guess config.sub install-sh mkidirs \ | |
14 | @@ -174,10 +174,10 @@ publish-release: fake_target | |||
15 | install-pre: | |||
16 | ||||
17 | install-post: all | |||
18 | - rm -f $(prefix)/current $(prefix)/current.lnk | |||
19 | - if test "@bat@" = ""; then \ | |||
20 | - (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \ | |||
21 | - fi | |||
22 | +# rm -f $(prefix)/current $(prefix)/current.lnk | |||
23 | +# if test "@bat@" = ""; then \ | |||
24 | +# (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \ | |||
25 | +# fi | |||
26 | ||||
27 | uninstall-pre: | |||
28 |