1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/graphics/povray31/files/patch-ab

47 lines
1.6 KiB
Plaintext
Raw Normal View History

*** 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