]> git.pld-linux.org Git - packages/zgv.git/blame - zgv-DESTDIR.patch
- release 2, built against libpng >= 1.0.8
[packages/zgv.git] / zgv-DESTDIR.patch
CommitLineData
f342cc78 1diff -Nru zgv-5.0.orig/config.mk zgv-5.0/config.mk
2--- zgv-5.0.orig/config.mk Sat Apr 29 18:00:14 2000
3+++ zgv-5.0/config.mk Sat Apr 29 18:03:57 2000
4@@ -1,4 +1,4 @@
5-# This file configures zgv's Makefiles. You should edit the settings
6+# tHIS FIle configures zgv's Makefiles. You should edit the settings
7 # below as needed.
8
9 # If you want to tune the optimisation used (you shouldn't need to,
0c9e1794 10@@ -26,7 +26,7 @@
11 # example, perhaps your distribution automatically handles this for
12 # you) you should uncomment this to prevent `make install' doing that.
13 #
14-#INFO_DIR_UPDATE=no
15+INFO_DIR_UPDATE=no
16
17
18 # ------------------ Library-related options ----------------------
f342cc78 19diff -Nru zgv-5.0.orig/doc/Makefile zgv-5.0/doc/Makefile
20--- zgv-5.0.orig/doc/Makefile Sat Apr 29 18:00:14 2000
21+++ zgv-5.0/doc/Makefile Sat Apr 29 18:04:46 2000
0c9e1794 22@@ -34,8 +34,10 @@
23 else
24 install: ../src/install-info
25 endif
26- install -m 444 zgv.1 $(MANDIR)
27- install -m 444 zgv zgv-? $(INFODIR)
28+ mkdir -p $(DESTDIR)$(MANDIR)
29+ mkdir -p $(DESTDIR)$(INFODIR)
30+ install zgv.1 $(DESTDIR)$(MANDIR)
31+ install zgv zgv-? $(DESTDIR)$(INFODIR)
32 # Update info `dir' file.
33 # Info always uses a dir file in preference to a dir.gz, so we don't use
34 # dir.gz unless it's the only game in town.
f342cc78 35diff -Nru zgv-5.0.orig/src/Makefile zgv-5.0/src/Makefile
36--- zgv-5.0.orig/src/Makefile Sat Apr 29 18:00:14 2000
37+++ zgv-5.0/src/Makefile Sat Apr 29 18:07:07 2000
38@@ -13,10 +13,10 @@
0c9e1794 39 CC=gcc
40
41 WARNOPTS = -Wall
42+OPTFLAGS = -O2 -fomit-frame-pointer -finline-functions
43
f342cc78 44-CFLAGS = $(WARNOPTS) $(PCDDEF) \
0c9e1794 45- -DRGB_DB_FILE=\"$(RGB_DB)\" \
46- -O2 -fomit-frame-pointer -finline-functions
47+CFLAGS = $(INCDIRS) $(WARNOPTS) $(PNGDEF) $(OPTFLAGS) \
48+ -DRGB_DB_FILE=\"$(RGB_DB)\"
49
f342cc78 50 ZGV_LIBS = -lvgagl -lvga -ljpeg -lpng -lz -lm
51 ifeq ($(PCDDEF),-DPCD_SUPPORT)
52@@ -52,7 +52,8 @@
0c9e1794 53 $(CC) $(INFODIRDEF) -o install-info install-info.c
54
55 install: all
56- install -m 4511 -o root -g root -s zgv $(BINDIR)
57+ mkdir -p $(DESTDIR)$(BINDIR)
58+ install -s zgv $(DESTDIR)$(BINDIR)
59
60 clean:
61 $(RM) *.o *~ zgv munglogo zgvlogo.h bdf2h fontbmps.h install-info
This page took 0.090378 seconds and 4 git commands to generate.