summaryrefslogtreecommitdiff
path: root/archivers/dact/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/dact/patches/patch-aa')
-rw-r--r--archivers/dact/patches/patch-aa31
1 files changed, 28 insertions, 3 deletions
diff --git a/archivers/dact/patches/patch-aa b/archivers/dact/patches/patch-aa
index d33dab03adb..144b0d2f234 100644
--- a/archivers/dact/patches/patch-aa
+++ b/archivers/dact/patches/patch-aa
@@ -1,8 +1,22 @@
-$NetBSD: patch-aa,v 1.3 2004/05/10 18:04:02 minskim Exp $
+$NetBSD: patch-aa,v 1.4 2005/01/21 02:48:21 tv Exp $
---- Makefile.in.orig 2001-09-07 15:29:02.000000000 -0500
+--- Makefile.in.orig 2001-09-07 16:29:02.000000000 -0400
+++ Makefile.in
-@@ -69,11 +69,10 @@ distclean: clean
+@@ -34,11 +34,11 @@ CR_OBJ = comp_range/qsmodel.o comp_range
+ comp_range.so: $(CR_OBJ)
+ CLR += $(CROBJ)
+
+-module: @DEPEND@
++module:
+ @MODS="$(ALGO:.c=.so)" LDLIBS="-ldl" LDFLAGS="-rdynamic" \
+ $(MAKE) dact dact.conf
+
+-static: @DEPEND@
++static:
+ @OBJS="$(ALGO:.c=.o) $(CR_OBJ)" LDLIBS="$(MODLIBS)" $(MAKE) dact dact.conf
+
+ dact.conf: Makefile
+@@ -69,21 +69,14 @@ distclean: clean
install: all
$(INSTALL) -c -m 755 dact $(bindir)/dact
@@ -15,3 +29,14 @@ $NetBSD: patch-aa,v 1.3 2004/05/10 18:04:02 minskim Exp $
uninstall:
rm -f $(bindir)/dact $(bindir)/dact-upgrade.sh
+ rm -f $(mandir)/man1/dact.1 $(CONF)
+ @MODS@ rm -rf $(datadir)/dact
+
+-depend: Makefile.dep
+-
+-Makefile.dep: *.c *.h Makefile
+- @echo "building Makefile.dep"
+- @$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(ALGO) $(OBJS:.o=.c) $(MODS:.so=.c) dact.c | tee Makefile.dep | sed -e "s/^\([^ ]*\)\.o: /\1.so: /g" >> Makefile.dep
+-
+-include Makefile.dep
++depend: