summaryrefslogtreecommitdiff
path: root/graphics/povray31/files/patch-ab
blob: 3a924df8a9fc40eaf50b2a54b5026c9817ec6c11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
*** source/unix/makefile.orig	Tue Mar  9 12:03:02 1999
--- source/unix/makefile	Tue May 11 03:42:15 1999
***************
*** 34,43 ****
  # Use libXXX.a if you want to force static linking of the libraries.
  #   Use -Llibdir -lXXX if you want to use shared libraries (if they are
  #   available).  It doesn't matter if you only have libXXX.a libraries.
! PNGDIR = $(SRCDIR)/libpng
  LIBPNGINC = -I$(PNGDIR)
  #LIBPNGLIB = $(PNGDIR)/libpng.a
! LIBPNGLIB = -L$(PNGDIR) -lpng
  #LIBPNGLIB = -L/usr/local/lib -lpng
  
  # The following options are added at the suggestion of Axel Hecht
--- 34,43 ----
  # Use libXXX.a if you want to force static linking of the libraries.
  #   Use -Llibdir -lXXX if you want to use shared libraries (if they are
  #   available).  It doesn't matter if you only have libXXX.a libraries.
! PNGDIR = $(PREFIX)/include
  LIBPNGINC = -I$(PNGDIR)
  #LIBPNGLIB = $(PNGDIR)/libpng.a
! LIBPNGLIB = -L$(PREFIX)/lib -lpng
  #LIBPNGLIB = -L/usr/local/lib -lpng
  
  # The following options are added at the suggestion of Axel Hecht
***************
*** 48,56 ****
  # LIBPNGLIB = -L$(PREFIX)/lib -lpng
  
  ZLIBDIR = $(SRCDIR)/zlib
! ZLIBINC = -I$(ZLIBDIR)
  #ZLIBLIB = $(ZLIBDIR)/libz.a
! ZLIBLIB = -L$(ZLIBDIR) -lz
  #ZLIBLIB = -L/usr/local/lib -lz
  
  # The following options are added at the suggestion of Axel Hecht
--- 48,56 ----
  # LIBPNGLIB = -L$(PREFIX)/lib -lpng
  
  ZLIBDIR = $(SRCDIR)/zlib
! ZLIBINC = #-I$(ZLIBDIR)
  #ZLIBLIB = $(ZLIBDIR)/libz.a
! ZLIBLIB = -lz
  #ZLIBLIB = -L/usr/local/lib -lz
  
  # The following options are added at the suggestion of Axel Hecht