File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
src_compile () {
10
10
cd lex
11
- make -f Makefile.mk CC=tcc AR=tcc\ -ar LDFLAGS=-static RANLIB=true
11
+ make -f Makefile.mk CC=tcc AR=" tcc -ar" LDFLAGS=-static RANLIB=true LIBDIR= " ${LIBDIR} "
12
12
cd ..
13
13
}
14
14
@@ -18,4 +18,3 @@ src_install() {
18
18
install lex/libl.a " ${DESTDIR}${LIBDIR} "
19
19
install -m 644 lex/ncform " ${DESTDIR}${LIBDIR} /lex"
20
20
}
21
-
Original file line number Diff line number Diff line change @@ -21,4 +21,15 @@ export SHELL=/usr/bin/bash
21
21
DESTDIR=/tmp/destdir
22
22
EOF
23
23
24
+ # The following values are set up in the kaem environment.
25
+ # As these are then passed through to the bash shell, they are considered
26
+ # automatically exported variables. We don't want them exported.
27
+ unset PREFIX
28
+ unset BINDIR
29
+ unset LIBDIR
30
+ unset INCDIR
31
+ unset SRCDIR
32
+ unset TMPDIR
33
+ unset DISTFILES
34
+
24
35
. /steps/env
You can’t perform that action at this time.
0 commit comments