2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00: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 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