$NetBSD: patch-aa,v 1.3 2002/09/03 20:31:03 drochner Exp $

--- libImaging/Makefile.in.orig	Sun Mar 10 17:57:40 2002
+++ libImaging/Makefile.in	Tue Sep  3 21:16:00 2002
@@ -30,7 +30,7 @@
 # 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)
@@ -81,7 +81,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)
