mirror of
https://codeberg.org/kiss-community/repo
synced 2025-04-02 11:07:20 -06:00
perl: fix builds
This commit is contained in:
parent
4fefb6a842
commit
f90fe6a56c
@ -2,44 +2,35 @@
|
|||||||
|
|
||||||
export BUILD_ZLIB=0
|
export BUILD_ZLIB=0
|
||||||
export BUILD_BZIP2=0
|
export BUILD_BZIP2=0
|
||||||
export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE"
|
export LDFLAGS="$LDFLAGS -pthread"
|
||||||
|
export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
|
||||||
|
|
||||||
./Configure \
|
./Configure \
|
||||||
-des \
|
-des \
|
||||||
-Dcccdlflags='-fPIC' \
|
|
||||||
-Dcccdlflags='-fPIC' \
|
|
||||||
-Dccdlflags='-rdynamic' \
|
|
||||||
-Dprefix=/usr \
|
-Dprefix=/usr \
|
||||||
-Dprivlib=/usr/share/perl5/core_perl \
|
|
||||||
-Darchlib=/usr/lib/perl5/core_perl \
|
|
||||||
-Dvendorprefix=/usr \
|
-Dvendorprefix=/usr \
|
||||||
-Dvendorlib=/usr/share/perl5/vendor_perl \
|
-Dusevendorprefix \
|
||||||
-Dvendorarch=/usr/lib/perl5/vendor_perl \
|
|
||||||
-Dsiteprefix=/usr/local \
|
|
||||||
-Dsitelib=/usr/local/share/perl5/site_perl \
|
|
||||||
-Dsitearch=/usr/local/lib/perl5/site_perl \
|
|
||||||
-Dlocincpth=' ' \
|
|
||||||
-Doptimize="$CFLAGS" \
|
|
||||||
-Duselargefiles \
|
|
||||||
-Dusethreads \
|
|
||||||
-Duseshrplib \
|
-Duseshrplib \
|
||||||
-Dd_semctl_semun \
|
-Dusesoname \
|
||||||
-Dman1dir=/usr/share/man/man1 \
|
-Dusethreads \
|
||||||
-Dman3dir=/usr/share/man/man3 \
|
-Dinc_version_list=none \
|
||||||
-Dinstallman1dir=/usr/share/man/man1 \
|
-Dd_sockaddr_in6=define \
|
||||||
-Dinstallman3dir=/usr/share/man/man3 \
|
-Dcccdlflags=-fPIC \
|
||||||
-Dman1ext='1' \
|
-Dccflags="$CFLAGS" \
|
||||||
-Dman3ext='3pm' \
|
-Dlddlflags="-shared $LDFLAGS" \
|
||||||
-Dcf_by='KISS' \
|
-Dldflags="$LDFLAGS" \
|
||||||
-Ud_csh \
|
-Doptimize="-Wall $CFLAGS" \
|
||||||
-Dusenm
|
-Dperl_static_inline="static __inline__" \
|
||||||
|
-Dd_static_inline
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Remove all .pod/packlist files.
|
# Remove all unneeded files.
|
||||||
find "$1" -name "*.pod" -delete
|
find "$1" -name \*.pod -delete
|
||||||
find "$1" -name .packlist -delete
|
find "$1" -name .packlist -delete
|
||||||
|
find "$1" -name README\* -delete
|
||||||
# Remove all documentation.
|
find "$1" -name TODO\* -delete
|
||||||
rm -rf "$1/usr/share/man"
|
find "$1" -name Change\* -delete
|
||||||
|
find "$1" -name \*.bs -delete
|
||||||
|
find "$1" -name \*.0 -type f -delete
|
||||||
|
@ -1 +1 @@
|
|||||||
5.30.0 3
|
5.30.0 4
|
||||||
|
Loading…
Reference in New Issue
Block a user