openbsd-ports/security/nessus/libraries/patches/patch-nessus-libraries_libhosts_gatherer_Makefile
2005-12-25 15:52:38 +00:00

20 lines
957 B
Plaintext

$OpenBSD: patch-nessus-libraries_libhosts_gatherer_Makefile,v 1.2 2005/12/25 15:52:38 sturm Exp $
--- libhosts_gatherer/Makefile.orig Mon Apr 7 04:06:49 2003
+++ libhosts_gatherer/Makefile Sun Dec 25 15:37:44 2005
@@ -18,12 +18,11 @@ 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} \
- -version-info ${PACKAGE_VERSION}
+ $(LIBTOOL) --mode=link $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
+ ${libhosts_gatherer_la_LDFLAGS}
hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c
$(LIBTOOL) --mode=compile $(COMPILE) -c hg_utils.c