zip: always enable large file support

This commit is contained in:
Jürgen Buchmüller 2017-11-29 14:56:21 +01:00
parent d0073eaa7e
commit 600f220b6e
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'zip'.
pkgname=zip
version=3.0
revision=4
revision=5
wrksrc="zip30"
short_desc="Create/update ZIP files compatible with pkzip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -11,7 +11,7 @@ distfiles="${SOURCEFORGE_SITE}/infozip/zip30.tar.gz"
checksum=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
do_build() {
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"$CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
make CC=$CC CPP=$CPP -f unix/Makefile generic_gcc
}