packages: varkon/varkon-make-bin.patch (NEW) - commit as binary file
chomar
chomar at pld-linux.org
Sat May 29 21:46:49 CEST 2010
Author: chomar Date: Sat May 29 19:46:49 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- commit as binary file
---- Files affected:
packages/varkon:
varkon-make-bin.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/varkon/varkon-make-bin.patch
diff -u /dev/null packages/varkon/varkon-make-bin.patch:1.1
--- /dev/null Sat May 29 21:46:49 2010
+++ packages/varkon/varkon-make-bin.patch Sat May 29 21:46:43 2010
@@ -0,0 +1,231 @@
+diff -urN Varkon_1.19D.orig/sources/AN/src/Makefile.linux Varkon_1.19D/sources/AN/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/AN/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/AN/src/Makefile.linux 2010-05-29 18:32:32.000000000 +0200
+@@ -8,18 +8,14 @@
+
+ RM = rm -f
+
+-CC = gcc
+-
+ CFLAGS = -ansi \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+ -DUNIX \
+ -DANALYZER \
+- -DVARKON
+-
+-LDFLAGS =
++ -DVARKON \
++ $(OPTFLAGS)
+
+ COMPILE = $(CC) -c $(CFLAGS)
+
+diff -urN Varkon_1.19D.orig/sources/DB/src/Makefile.linux Varkon_1.19D/sources/DB/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/DB/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/DB/src/Makefile.linux 2010-05-29 18:33:48.000000000 +0200
+@@ -8,25 +8,23 @@
+
+ RM = rm -f
+
+-CC = gcc
+-
+ distr : CFLAGS = \
+ -ansi \
+ -pedantic \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+- -DUNIX
++ -DUNIX \
++ $(OPTFLAGS)
+
+ debug : CFLAGS = \
+ -ansi \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -g3 \
+ -DDEBUG \
+- -DUNIX
++ -DUNIX \
++ $(OPTFLAGS)
+
+ COMPILE = $(CC) -c $(CFLAGS)
+
+diff -urN Varkon_1.19D.orig/sources/EX/src/Makefile.linux Varkon_1.19D/sources/EX/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/EX/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/EX/src/Makefile.linux 2010-05-29 18:35:03.000000000 +0200
+@@ -8,27 +8,25 @@
+
+ RM = rm -f
+
+-CC = gcc
+-
+ distr : CFLAGS = \
+ -ansi \
+ -pedantic \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+ -DUNIX \
+- -DVARKON
++ -DVARKON \
++ $(OPTFLAGS)
+
+ debug : CFLAGS = \
+ -ansi \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -g3 \
+ -DDEBUG \
+ -DUNIX \
+- -DVARKON
++ -DVARKON \
++ $(OPTFLAGS)
+
+ distr : RAPCFLAGS = \
+ -pedantic \
+@@ -56,4 +54,4 @@
+
+ include Makefile.EX
+
+-##########################################################
+\ Brak znaku nowej linii na końcu pliku
++##########################################################
+diff -urN Varkon_1.19D.orig/sources/Makefile.linux Varkon_1.19D/sources/Makefile.linux
+--- Varkon_1.19D.orig/sources/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/Makefile.linux 2010-05-29 18:38:16.000000000 +0200
+@@ -26,7 +26,7 @@
+ # OpenGL libraries. You may have to change this line
+ # to reflect the location of your OpenGL libs.
+
+-GLIBS = -lGL -lGLU
++GLIBS = -L/usr/X11R6/lib -lGL -lGLU
+
+ # The TIFF library
+
+@@ -48,7 +48,7 @@
+ # Targets
+
+ $(XVARKON): $(LIBS)
+- cc $(LIBS) $(SQLLIBS) $(XLIBS) $(GLIBS) $(TIFFLIBS) -lm -o $(XVARKON)
++ $(CC) $(LDFLAGS) $(LIBS) $(SQLLIBS) $(XLIBS) $(GLIBS) $(TIFFLIBS) -lm -o $(XVARKON)
+
+
+ ##########################################################
+diff -urN Varkon_1.19D.orig/sources/PL/src/Makefile.linux Varkon_1.19D/sources/PL/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/PL/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/PL/src/Makefile.linux 2010-05-29 18:39:43.000000000 +0200
+@@ -8,8 +8,6 @@
+
+ RM = rm -f
+
+-CC = gcc
+-
+ # Options to CC
+
+ CFLAGS = \
+@@ -18,8 +16,8 @@
+ -pedantic \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+- -DUNIX
++ -DUNIX \
++ $(OPTFLAGS)
+
+ COMPILE = $(CC) $(CFLAGS)
+
+diff -urN Varkon_1.19D.orig/sources/PL/src/Makefile.PL Varkon_1.19D/sources/PL/src/Makefile.PL
+--- Varkon_1.19D.orig/sources/PL/src/Makefile.PL 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/PL/src/Makefile.PL 2010-05-29 18:41:33.000000000 +0200
+@@ -36,20 +36,16 @@
+ PLLIB = ../lib/PLlib.a
+
+ $(POSTSCRIPT) : postscript.c ../../IG/src/igenvpath.c $(PLLIB)
+- $(COMPILE) postscript.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/postscript
+- strip ../../../bin/postscript
++ $(COMPILE) $(LDFLAGS) postscript.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/postscript
+
+ $(HP7475): hp7475.c ../../IG/src/igenvpath.c $(PLLIB)
+- $(COMPILE) hp7475.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hp7475
+- strip ../../../bin/hp7475
++ $(COMPILE) $(LDFLAGS) hp7475.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hp7475
+
+ $(HPCL5): hpcl5.c ../../IG/src/igenvpath.c $(PLLIB)
+- $(COMPILE) hpcl5.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hpcl5
+- strip ../../../bin/hpcl5
++ $(COMPILE) $(LDFLAGS) hpcl5.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hpcl5
+
+ $(HPGL2): hpgl2.c ../../IG/src/igenvpath.c $(PLLIB)
+- $(COMPILE) hpgl2.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hpgl2
+- strip ../../../bin/hpgl2
++ $(COMPILE) $(LDFLAGS) hpgl2.c ../lib/PLlib.a ../../IG/src/igenvpath.c -lm -o ../../../bin/hpgl2
+
+ # PLlib.a depends on the objects. Rule is implicit, no need to specify
+ $(PLLIB) : $(OBJECTS)
+diff -urN Varkon_1.19D.orig/sources/PM/src/Makefile.linux Varkon_1.19D/sources/PM/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/PM/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/PM/src/Makefile.linux 2010-05-29 18:43:15.000000000 +0200
+@@ -8,27 +8,25 @@
+
+ RM = rm -f
+
+-CC = gcc
+-
+ distr : CFLAGS = \
+ -ansi \
+ -pedantic \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+ -DUNIX \
+- -DVARKON
++ -DVARKON \
++ $(OPTFLAGS)
+
+ debug : CFLAGS = \
+ -ansi \
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -g3 \
+ -DDEBUG \
+ -DUNIX \
+- -DVARKON
++ -DVARKON \
++ $(OPTFLAGS)
+
+ COMPILE = $(CC) -c $(CFLAGS)
+
+diff -urN Varkon_1.19D.orig/sources/WP/src/Makefile.linux Varkon_1.19D/sources/WP/src/Makefile.linux
+--- Varkon_1.19D.orig/sources/WP/src/Makefile.linux 2010-05-29 18:26:40.000000000 +0200
++++ Varkon_1.19D/sources/WP/src/Makefile.linux 2010-05-29 18:43:58.000000000 +0200
+@@ -16,8 +16,9 @@
+ -Wall \
+ -ffloat-store \
+ -fsigned-char \
+- -O \
+- -DUNIX
++ -DUNIX \
++ $(OPTFLAGS)
++
+
+ debug : CFLAGS = \
+ -ansi \
+@@ -26,7 +27,8 @@
+ -fsigned-char \
+ -g3 \
+ -DDEBUG \
+- -DUNIX
++ -DUNIX \
++ $(OPTFLAGS)
+
+ COMPILE = $(CC) -c $(CFLAGS)
+
================================================================
More information about the pld-cvs-commit
mailing list