Lines 17-23
Link Here
|
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
LICENSE="LGPL-3" |
18 |
LICENSE="LGPL-3" |
19 |
KEYWORDS="~amd64 ~x86" |
19 |
KEYWORDS="~amd64 ~x86" |
20 |
IUSE="" |
20 |
IUSE="array array-for-each arrays bignums byte byte-number |
|
|
21 |
careful-interrupt-masking cheap-continuations compiled-closure curses |
22 |
debug differ dont-memoize-locals dump |
23 |
engineering-notation generalized-c-arguments i/o-extensions inexact lit macro |
24 |
no-heap-shrink none posix record regex rev2-procedures sicp |
25 |
single-precision-only socket tick-interrupts turtlegr unix X xlib" |
21 |
|
26 |
|
22 |
#unzip for unpacking |
27 |
#unzip for unpacking |
23 |
RDEPEND="" |
28 |
RDEPEND="" |
Lines 36-49
Link Here
|
36 |
} |
41 |
} |
37 |
|
42 |
|
38 |
src_compile() { |
43 |
src_compile() { |
|
|
44 |
echo "srcdir=/usr/share/scm/" > srcdir.mk |
39 |
einfo "Making scmlit" |
45 |
einfo "Making scmlit" |
40 |
#parallel make fails sometimes |
46 |
#parallel make fails sometimes |
41 |
emake -j1 scmlit || die |
47 |
emake -j1 scmlit || die |
42 |
einfo "Creating script to build scm" |
48 |
einfo "Creating script to build scm" |
43 |
echo "srcdir=/usr/share/scm/" > srcdir.mk |
49 |
|
44 |
./build --compiler-options="${CFLAGS}" --linker-options="${LDFLAGS}" -F macro -F inexact &> _compile.sh || die |
50 |
# Some features give errors, here's a detailed list: |
|
|
51 |
# mysql --> ERROR: database.c not found |
52 |
# dynamic-linking --> It hasn't been implemented yet |
53 |
# caution --> Causes errors |
54 |
# edit-line --> Dependency problem with ltermcap |
55 |
# reckless --> repl.c and eval.c doesn't build with this feature |
56 |
# wb --> It gives these errors: |
57 |
# gcc: db.o: No such file or directory |
58 |
# gcc: wbsys.o: No such file or directory |
59 |
# gcc: stats.o: No such file or directory |
60 |
# gcc: segs.o: No such file or directory |
61 |
# gcc: scan.o: No such file or directory |
62 |
# gcc: prev.o: No such file or directory |
63 |
# gcc: handle.o: No such file or directory |
64 |
# gcc: ents.o: No such file or directory |
65 |
# gcc: del.o: No such file or directory |
66 |
# gcc: blkio.o: No such file or directory |
67 |
# gcc: blink.o: No such file or directory |
68 |
|
69 |
./build --compiler-options="${CFLAGS}" --linker-options="${LDFLAGS}" \ |
70 |
$(use array && echo "-F array") \ |
71 |
$(use array-for-each && echo "-F array-for-each") \ |
72 |
$(use arrays && echo "-F arrays") \ |
73 |
$(use bignums && echo "-F bignums") \ |
74 |
$(use byte && echo "-F byte") \ |
75 |
$(use byte-number && echo "-F byte-number") \ |
76 |
$(use careful-interrupt-masking && echo "-F careful-interrupt-masking") \ |
77 |
$(use cheap-continuations && echo "-F cheap-continuations") \ |
78 |
$(use compiled-closure && echo "-F compiled-closure") \ |
79 |
$(use curses && echo "-F curses") \ |
80 |
$(use debug && echo "-F debug") \ |
81 |
$(use differ && echo "-F differ") \ |
82 |
$(use dont-memoize-locals && echo "-F dont-memoize-locals") \ |
83 |
$(use dump && echo "-F dump") \ |
84 |
$(use engineering-notation && echo "-F engineering-notation") \ |
85 |
$(use generalized-c-arguments && echo "-F generalized-c-arguments") \ |
86 |
$(use i/o-extensions && echo "-F i/o-extensions") \ |
87 |
$(use inexact && echo "-F inexact") \ |
88 |
$(use lit && echo "-F lit") \ |
89 |
$(use macro && echo "-F macro") \ |
90 |
$(use no-heap-shrink && echo "-F no-heap-shrink") \ |
91 |
$(use none && echo "-F none") \ |
92 |
$(use posix && echo "-F posix") \ |
93 |
$(use record && echo "-F record") \ |
94 |
$(use regex && echo "-F regex") \ |
95 |
$(use rev2-procedures && echo "-F rev2-procedures") \ |
96 |
$(use sicp && echo "-F sicp") \ |
97 |
$(use single-precision-only && echo "-F single-precision-only") \ |
98 |
$(use socket && echo "-F socket") \ |
99 |
$(use tick-interrupts && echo "-F tick-interrupts") \ |
100 |
$(use turtlegr && echo "-F turtlegr") \ |
101 |
$(use unix && echo "-F unix") \ |
102 |
$(use X && echo "-F x") \ |
103 |
$(use xlib && echo "-F xlib") &> _compile.sh || die "Error creating build script" |
45 |
einfo "Building scm" |
104 |
einfo "Building scm" |
46 |
sh _compile.sh || die |
105 |
sh _compile.sh || die "Error building" |
47 |
} |
106 |
} |
48 |
|
107 |
|
49 |
src_install() { |
108 |
src_install() { |