$NetBSD: patch-aa,v 1.4 2004/02/26 17:43:21 drochner Exp $ --- libImaging/Makefile.in.orig 2003-04-22 18:11:26.000000000 +0200 +++ libImaging/Makefile.in 2004-02-26 18:38:30.000000000 +0100 @@ -30,10 +30,10 @@ # Other things that are customizable but not by configure INCLDIR= $(srcdir)/. -JPEGINCLUDE= /usr/local/include +JPEGINCLUDE= $(PREFIX)/include OPT= @OPT@ #OPT= -g -CFLAGS= $(OPT) -I$(INCLDIR) -I$(JPEGINCLUDE) $(DEFS) +CFLAGS= $(OPT) -I$(INCLDIR) -I$(JPEGINCLUDE) $(DEFS) -fPIC MKDEP= mkdep SHELL= /bin/sh @@ -82,7 +82,7 @@ all: coretest $(LIB) coretest: coretest.o $(LIB) - $(CC) -o coretest coretest.o $(LIB) $(LIBS) + $(CC) $(LDFLAGS) -o coretest coretest.o $(LIB) $(LIBS) $(LIB): $& $(OBJS) -rm -f $(LIB)