$NetBSD: patch-aa,v 1.7 2001/09/12 06:17:14 jlam Exp $ --- Imakefile.orig Wed Sep 12 02:11:53 2001 +++ Imakefile @@ -10,10 +10,10 @@ CCOPTIONS = -Aa -D_HPUX_SOURCE #endif - INCLUDES = -I../zlib -I../libpng + INCLUDES = -I${BUILDLINK_DIR}/include SYSPATHFILE = $(XAPPLOADDIR)/Xloadimage DEPLIBS = $(DEPXLIB) -LOCAL_LIBRARIES = $(XLIB) -L../zlib -L../libpng -lpng -lz +LOCAL_LIBRARIES = $(XLIB) -L${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib -lpng -lz SYS_LIBRARIES = -lm DEFINES = -DHAVE_GUNZIP