Date: Sunday, January 18, 2015 @ 22:22:57
  Author: bisson
Revision: 229554

proper fix for FS#43236

Modified:
  zip/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-01-18 21:17:46 UTC (rev 229553)
+++ PKGBUILD    2015-01-18 21:22:57 UTC (rev 229554)
@@ -5,7 +5,7 @@
 pkgname=zip
 pkgver=3.0
 _pkgver=${pkgver/./}
-pkgrel=5
+pkgrel=6
 pkgdesc='Compressor/archiver for creating and modifying zipfiles'
 url='http://www.info-zip.org/Zip.html'
 arch=('i686' 'x86_64')
@@ -18,10 +18,8 @@
 
 prepare() {
        cd "${srcdir}/${pkgname}${_pkgver}"
-       sed \
-               -e "/^CFLAGS =/s/\$/ $CPPFLAGS $CFLAGS/" \
-               -e "/^LFALGS1 =/s/\$/ $LDFLAGS/" \
-               -i unix/Makefile
+       sed -e "/^CFLAGS_NOOPT =/s/\$/ $CPPFLAGS $CFLAGS/" -i unix/Makefile
+       sed -e "s/^LFLAGS1=''/LFLAGS1=$LDFLAGS/" -i unix/configure
 }
 
 build() {

Reply via email to