pkgsrc/graphics/radiance/patches/patch-aq

16 lines
530 B
Text

$NetBSD: patch-aq,v 1.2 2006/04/28 16:55:10 joerg Exp $
--- ./src/px/tiff/contrib/addtiffo/Makefile.orig 2005-02-15 15:19:59.000000000 -0500
+++ ./src/px/tiff/contrib/addtiffo/Makefile 2005-02-15 15:22:05.000000000 -0500
@@ -4,9 +4,8 @@
#
LIBTIFF_DIR = ../../libtiff
#
-CC = gcc
-CFLAGS = -O -I$(LIBTIFF_DIR)
-LIBS = $(LIBTIFF_DIR)/libtiff.a -lm
+CFLAGS += -O -I$(PREFIX)/include
+LIBS = -ltiff -lm ${LDFLAGS}
addtiffo: addtiffo.o tif_overview.o tif_ovrcache.o
$(CXX) $(CFLAGS) addtiffo.o tif_overview.o tif_ovrcache.o \