diff options
author | tnut <thierryn1 at hispeed dot ch> | 2011-02-17 23:15:06 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2011-02-17 23:15:06 +0100 |
commit | a2a5f3bea769e162145f3165146c699325770ba8 (patch) | |
tree | 29df74ead13c7433bc39a342eb960ab4cfc72451 | |
parent | 50600fce8eb1c72e506c9128d738cc189e67ad18 (diff) | |
parent | a4b4aae692c7a403340688ac036399ef54c7a364 (diff) | |
download | nutyx-extra-a2a5f3bea769e162145f3165146c699325770ba8.tar.gz nutyx-extra-a2a5f3bea769e162145f3165146c699325770ba8.tar.bz2 nutyx-extra-a2a5f3bea769e162145f3165146c699325770ba8.tar.xz nutyx-extra-a2a5f3bea769e162145f3165146c699325770ba8.zip |
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
-rwxr-xr-x | base/unzip/Pkgfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/base/unzip/Pkgfile b/base/unzip/Pkgfile index 0a61a9571..a22426a21 100755 --- a/base/unzip/Pkgfile +++ b/base/unzip/Pkgfile @@ -12,10 +12,14 @@ source=(http://downloads.sourceforge.net/infozip/unzip60.tar.gz) build() { cd $name${version/./} + export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \ + -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \ + -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \ + -DUSE_BZIP2 -DNATIVE" case `uname -m` in x86_64) - make -f unix/Makefile LOCAL_UNZIP=-D FILE_OFFSET_64BITS=64 \ - CF="-0 -Wall -I. -DUSE_UNSHRINK" prefix=/usr unzips;; + make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr \ + LF2="" D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips;; i?86) make -f unix/Makefile \ LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux;; |