$NetBSD: patch-ac,v 1.3 2002/09/23 23:35:49 jlam Exp $

--- ives/makefile.in.orig	Sun Jul  7 12:57:19 2002
+++ ives/makefile.in	Sun Jul  7 12:57:59 2002
@@ -31,7 +31,7 @@
            STYLE=-DOLD_STYLE
 
            CXXOPT=-DIVES $(NO_ALT) $(STYLE) $(DEB) $(DEFS) $(CFLAGS)
-           LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L/usr/lib $(PNGLIB) $(ZLIB) $(LIBS)
+           LOCAL_LIBRARIES=$(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
 
  PROGRAM =ives iedit iview $(IMAGEOBJS) $(JDEP)
 
