mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
mandoc: update for new env
This commit is contained in:
parent
2ae276ae95
commit
a168a4c28e
@ -8,7 +8,7 @@ sed 's,"more -s","less",g' main.c > _
|
|||||||
mv -f _ main.c
|
mv -f _ main.c
|
||||||
|
|
||||||
# Use CC rather than broken default.
|
# Use CC rather than broken default.
|
||||||
sed "s/CC=.*/CC=${CC:-cc}/" configure > _
|
sed "s/CC=.*/CC=$CC/" configure > _
|
||||||
mv -f _ configure
|
mv -f _ configure
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
|
|
||||||
@ -17,7 +17,6 @@ PREFIX=/usr
|
|||||||
MANDIR=/usr/share/man
|
MANDIR=/usr/share/man
|
||||||
LIBDIR=/usr/lib
|
LIBDIR=/usr/lib
|
||||||
SBINDIR=/usr/bin
|
SBINDIR=/usr/bin
|
||||||
CC="${CC:-cc}"
|
|
||||||
CFLAGS="$CFLAGS -fcommon"
|
CFLAGS="$CFLAGS -fcommon"
|
||||||
LN="ln -sf"
|
LN="ln -sf"
|
||||||
EOF
|
EOF
|
||||||
@ -25,4 +24,4 @@ EOF
|
|||||||
./configure
|
./configure
|
||||||
|
|
||||||
make
|
make
|
||||||
make -j1 DESTDIR="$1" base-install
|
make -j1 base-install
|
||||||
|
Loading…
Reference in New Issue
Block a user