$OpenBSD: patch-nessus-libraries_libhosts_gatherer_Makefile,v 1.1.1.1 2005/05/16 16:02:56 sturm Exp $
--- libhosts_gatherer/Makefile.orig	Mon Apr  7 04:06:49 2003
+++ libhosts_gatherer/Makefile	Sun May  8 11:48:52 2005
@@ -18,11 +18,10 @@ test : libhosts_gatherer.la 
 
 install : libhosts_gatherer.la
 	test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
-	$(LIBTOOL) --mode install $(INSTALL) libhosts_gatherer.la $(DESTDIR)${libdir} 
-	$(LIBTOOL) --finish $(DESTDIR)${libdir}
+	$(LIBTOOL) --mode=install $(INSTALL) libhosts_gatherer.la $(DESTDIR)${libdir} 
 	
 libhosts_gatherer.la : $(OBJS)
-	$(LIBTOOL) $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
+	$(LIBTOOL) --mode=link $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
 	-version-info ${PACKAGE_VERSION}
 	        
 hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c
