2
0
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:
Dylan Araps 2021-07-18 05:50:34 +03:00
parent 2ae276ae95
commit a168a4c28e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -8,7 +8,7 @@ sed 's,"more -s","less",g' main.c > _
mv -f _ main.c
# Use CC rather than broken default.
sed "s/CC=.*/CC=${CC:-cc}/" configure > _
sed "s/CC=.*/CC=$CC/" configure > _
mv -f _ configure
chmod +x configure
@ -17,7 +17,6 @@ PREFIX=/usr
MANDIR=/usr/share/man
LIBDIR=/usr/lib
SBINDIR=/usr/bin
CC="${CC:-cc}"
CFLAGS="$CFLAGS -fcommon"
LN="ln -sf"
EOF
@ -25,4 +24,4 @@ EOF
./configure
make
make -j1 DESTDIR="$1" base-install
make -j1 base-install