summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-08-30 15:34:34 +0000
committerrillig <rillig@pkgsrc.org>2006-08-30 15:34:34 +0000
commitfc24befbac3415ef1948b1aa004867530cdbbc44 (patch)
treeb07a93d2e635ee9321460be9f7cd4d742cb34b06 /archivers
parente6f4069098e8b4d38249cc8341dca9c5b248ca6b (diff)
downloadpkgsrc-fc24befbac3415ef1948b1aa004867530cdbbc44.tar.gz
The Solaris /bin/sh cannot handle empty lists in `for' loops.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/dact/distinfo4
-rw-r--r--archivers/dact/patches/patch-aa16
2 files changed, 15 insertions, 5 deletions
diff --git a/archivers/dact/distinfo b/archivers/dact/distinfo
index 201646aef0d..70e6da6fb12 100644
--- a/archivers/dact/distinfo
+++ b/archivers/dact/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2006/05/26 08:44:28 adam Exp $
+$NetBSD: distinfo,v 1.10 2006/08/30 15:34:34 rillig Exp $
SHA1 (dact-0.8.41.tar.gz) = a87db20ae7bf4ffd1b5d37c7e3be70c84661e379
RMD160 (dact-0.8.41.tar.gz) = 015544501df128da869f837b64579de53028a163
Size (dact-0.8.41.tar.gz) = 151032 bytes
-SHA1 (patch-aa) = 64516b96418fc98e76da9d14e2286920406628d1
+SHA1 (patch-aa) = b1e4dbac8271ceaff320720923d0667907503588
SHA1 (patch-ab) = 4bb63e9e9ae2cf1a4faf06bfad20c0f47a4c46a2
diff --git a/archivers/dact/patches/patch-aa b/archivers/dact/patches/patch-aa
index 9c8d30565fd..6495c29e0bc 100644
--- a/archivers/dact/patches/patch-aa
+++ b/archivers/dact/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2006/05/26 08:44:28 adam Exp $
+$NetBSD: patch-aa,v 1.6 2006/08/30 15:34:34 rillig Exp $
--- Makefile.in.orig 2006-03-25 14:15:04.000000000 +0100
-+++ Makefile.in
++++ Makefile.in 2006-08-30 17:31:54.649362344 +0200
@@ -42,15 +42,15 @@ OBJS += dact_common.o comp_fail.o comp_p
SHLIBOBJS += dact_common_shr.o comp_fail_shr.o comp_plain_shr.o buffer_shr.o header_shr.o sort_shr.o module_shr.o parse_shr.o dendian_shr.o crc_shr.o net_shr.o ui_shr.o sfx_shr.o libdact_shr.o @SHLIBOBJS@
ALGO = comp_snibble.c comp_delta.c comp_text.c comp_rle.c cipher_chaos.c cipher_sub.c cipher_psub.c @ALGO@
@@ -21,6 +21,15 @@ $NetBSD: patch-aa,v 1.5 2006/05/26 08:44:28 adam Exp $
@OBJS="$(ALGO:.c=.o) $(CR_OBJ)" SHLIBOBJS="$(ALGO:.c=_shr.o)" LDLIBS="$(MODLIBS)" $(MAKE) $(TOBUILD)
dact.conf: Makefile
+@@ -63,7 +63,7 @@ dact.conf: Makefile
+ @echo "binary_check off" >> dact.conf
+ @echo "module_dir $(datadir)/dact" >> dact.conf
+ @echo "module_load_all off" >> dact.conf
+-@MODS@ @for so in $(MODS:.so=); do echo "load_module $$so" >> dact.conf; done
++@MODS@ @for so in :dummy: $(MODS:.so=); do case $$so in :dummy:) continue;; esac; echo "load_module $$so" >> dact.conf; done
+
+ dact$(EXEEXT): $(OBJS) $(MODS)
+ $(CC) $(OBJS) $(LIBS) -o dact$(EXEEXT) $(LDLIBS) $(LDFLAGS)
@@ -101,14 +101,9 @@ install: all install-bin
-$(INSTALL) -d $(libdir)
-$(INSTALL) -d $(datadir)/dact
@@ -32,8 +41,9 @@ $NetBSD: patch-aa,v 1.5 2006/05/26 08:44:28 adam Exp $
- -$(INSTALL) -m 644 libdact.$(SHOBJEXT).def $(libdir)/libdact.$(SHOBJEXT).def
- -$(INSTALL) -m 644 libdact.$(SHOBJEXT).a $(libdir)/libdact.$(SHOBJEXT).a
- -$(INSTALL) -m 644 libdact.a $(libdir)/libdact.a
- @MODS@ for so in $(MODS); do $(INSTALL) -m 755 $$so $(datadir)/dact/$$so; done
+-@MODS@ for so in $(MODS); do $(INSTALL) -m 755 $$so $(datadir)/dact/$$so; done
- ./patch-magic-file $(datadir)/magic
++@MODS@ for so in :dummy: $(MODS); do case $$so in :dummy:) continue;; esac; $(INSTALL) -m 755 $$so $(datadir)/dact/$$so; done
install-bin-local: dact$(EXEEXT)
-$(INSTALL) -d $(HOME)/.dact/`uname -s | tr A-Z a-z`-`uname -m`