[Slackbuilds-users] Typo in graphics/zgv/zgv.SlackBuild script?

Michael Wagner lapinours at web.de
Mon Nov 19 17:12:04 UTC 2007


Am Freitag, den 16.11.2007, 17:49 -0500 schrieb Brad Ely:
> I was browsing through the 12.0 slackbuild scripts and noticed the
> following which looks wrong.  True?
> 
> --- zgv.SlackBuild	2007-11-12 01:01:41.000000000 -0500
> +++ zgv.SlackBuild.fix	2007-11-16 17:34:52.000000000 -0500
> @@ -56,7 +56,7 @@
>    patch -p0 < $i 
>  done
>  
> -make SLKCFLAGS="$SLKCFLAGS"
> +make CFLAGS="$SLKCFLAGS"
>  make install DESTDIR=$PKG
>  
>  for i in $PKG/usr/man/man1/* $PKG/usr/info/*; do

Hi,

this is correct. Take a look at graphics/zgv/patches/config.mk.diff:

--- config.mk~	2007-10-06 08:28:56.000000000 +0200
+++ config.mk	2007-10-06 08:31:02.000000000 +0200
@@ -8,7 +8,7 @@
 # This is likely to be what you'll want for most systems:
 #
 CC=gcc
-CFLAGS=-O2 -Wall -fomit-frame-pointer -finline-functions
+CFLAGS=-O2 -Wall -fomit-frame-pointer -finline-functions $(SLKCFLAGS)
 #
 # If you're brave enough to try compiling zgv on a non-x86 system :-),
 # this might be a better bet:

Greetings,

Michael




More information about the Slackbuilds-users mailing list