]> git.pld-linux.org Git - packages/ghostscript.git/blob - ghostscript-config.patch
- some pld.org.pl->pld-linux.org cosmetics
[packages/ghostscript.git] / ghostscript-config.patch
1 --- ghostscript-7.07/src/unix-gcc.mak.orig      Tue Mar 11 12:59:10 2003
2 +++ ghostscript-7.07/src/unix-gcc.mak   Wed Jun  4 13:06:24 2003
3 @@ -65,7 +65,7 @@
4  man1ext = 1
5  datadir = $(prefix)/share
6  gsdir = $(datadir)/ghostscript
7 -gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
8 +gsdatadir = $(gsdir)
9  
10  docdir=$(gsdatadir)/doc
11  exdir=$(gsdatadir)/examples
12 @@ -74,7 +74,7 @@
13  # Define the default directory/ies for the runtime
14  # initialization and font files.  Separate multiple directories with a :.
15  
16 -GS_LIB_DEFAULT=$(gsdatadir)/lib:$(gsdir)/fonts
17 +GS_LIB_DEFAULT=$(datadir)/lib:$(datadir)/fonts:/usr/share/fonts/Type1
18  
19  # Define whether or not searching for initialization files should always
20  # look in the current directory first.  This leads to well-known security
21 @@ -152,26 +152,26 @@
22  # You may need to change this if the libpng version changes.
23  # See libpng.mak for more information.
24  
25 -PSRCDIR=libpng
26 +PSRCDIR=/usr/include
27  PVERSION=10205
28  
29  # Choose whether to use a shared version of the PNG library, and if so,
30  # what its name is.
31  # See gs.mak and Make.htm for more information.
32  
33 -SHARE_LIBPNG=0
34 +SHARE_LIBPNG=1
35  LIBPNG_NAME=png
36  
37  # Define the directory where the zlib sources are stored.
38  # See zlib.mak for more information.
39  
40 -ZSRCDIR=zlib
41 +ZSRCDIR=/usr/include
42  
43  # Choose whether to use a shared version of the zlib library, and if so,
44  # what its name is (usually libz, but sometimes libgz).
45  # See gs.mak and Make.htm for more information.
46  
47 -SHARE_ZLIB=0
48 +SHARE_ZLIB=1
49  #ZLIB_NAME=gz
50  ZLIB_NAME=z
51  
52 @@ -215,7 +215,7 @@
53  # Define the added flags for standard, debugging, profiling 
54  # and shared object builds.
55  
56 -CFLAGS_STANDARD=-O2
57 +CFLAGS_STANDARD=
58  CFLAGS_DEBUG=-g -O
59  CFLAGS_PROFILE=-pg -O2
60  CFLAGS_SO=-fPIC
61 @@ -231,7 +231,7 @@
62  # We don't include -ansi, because this gets in the way of the platform-
63  #   specific stuff that <math.h> typically needs; nevertheless, we expect
64  #   gcc to accept ANSI-style function prototypes and function definitions.
65 -XCFLAGS=
66 +#XCFLAGS=
67  
68  CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
69  
70 @@ -242,7 +242,7 @@
71  #      -R /usr/local/xxx/lib:/usr/local/lib
72  # giving the full path names of the shared library directories.
73  # XLDFLAGS can be set from the command line.
74 -XLDFLAGS=
75 +#XLDFLAGS=
76  
77  LDFLAGS=$(XLDFLAGS)
78  
79 @@ -322,7 +322,7 @@
80  
81  # Choose the language feature(s) to include.  See gs.mak for details.
82  
83 -FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev
84 +FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(PSD)cidfont.dev
85  #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
86  #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(GLD)pipe.dev
87  # The following is strictly for testing.
This page took 0.193966 seconds and 3 git commands to generate.