pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/swish-e Make sure the directories exists before tr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6c501b0867d
branches:  trunk
changeset: 477186:c6c501b0867d
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Jun 27 18:30:54 2004 +0000

description:
Make sure the directories exists before trying to install in them.
Solves PR 25426.

Add dependency on PERL5 so that the configure script does the right
thing, since this package use the path in places that cannot be
patched by REPLACE_PERL (and bin/swish-filter-test need perl to
run anyway).

Bump PKGREVISION.

diffstat:

 www/swish-e/Makefile         |   5 +++--
 www/swish-e/distinfo         |   4 +++-
 www/swish-e/patches/patch-aa |  13 +++++++++++++
 www/swish-e/patches/patch-ab |  13 +++++++++++++
 4 files changed, 32 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r a0420f0189c2 -r c6c501b0867d www/swish-e/Makefile
--- a/www/swish-e/Makefile      Sun Jun 27 17:32:48 2004 +0000
+++ b/www/swish-e/Makefile      Sun Jun 27 18:30:54 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2004/04/19 04:53:58 snj Exp $
+# $NetBSD: Makefile,v 1.18 2004/06/27 18:30:54 kristerw Exp $
 # FreeBSD Id: ports/www/swish-e/Makefile,v 1.3 1999/08/31 02:43:18 peter Exp
 
 DISTNAME=      swish-e-2.4.1
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www textproc
 MASTER_SITES=  http://swish-e.org/Download/
 
@@ -13,6 +13,7 @@
 USE_BUILDLINK3=        yes
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
+USE_PERL5=     yes
 
 CONFIGURE_ARGS+=       --with-libxml2=${BUILDLINK_PREFIX.libxml2}
 CONFIGURE_ARGS+=       --with-pcre=${BUILDLINK_PREFIX.pcre}
diff -r a0420f0189c2 -r c6c501b0867d www/swish-e/distinfo
--- a/www/swish-e/distinfo      Sun Jun 27 17:32:48 2004 +0000
+++ b/www/swish-e/distinfo      Sun Jun 27 18:30:54 2004 +0000
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/01/22 15:17:07 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2004/06/27 18:30:54 kristerw Exp $
 
 SHA1 (swish-e-2.4.1.tar.gz) = fef447bb13a29f3758baeba09bceace8ca3529f2
 Size (swish-e-2.4.1.tar.gz) = 1491631 bytes
+SHA1 (patch-aa) = 17e175792d0d6bc40a1fd23fc7fba32a023bc8e0
+SHA1 (patch-ab) = d8bf46d4b54e0becfbf909e080b69a4c3104d24f
diff -r a0420f0189c2 -r c6c501b0867d www/swish-e/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/swish-e/patches/patch-aa      Sun Jun 27 18:30:54 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2004/06/27 18:30:54 kristerw Exp $
+
+--- filters/SWISH/Makefile.in.orig     2003-12-18 06:49:40.000000000 +0100
++++ filters/SWISH/Makefile.in  2004-06-27 19:47:52.000000000 +0200
+@@ -189,7 +189,7 @@
+ nobase_perlmoduleSCRIPT_INSTALL = $(install_sh_SCRIPT)
+ install-nobase_perlmoduleSCRIPTS: $(nobase_perlmodule_SCRIPTS)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(perlmoduledir)
++      $(mkinstalldirs) $(DESTDIR)$(perlmoduledir)/Filters
+       @list='$(nobase_perlmodule_SCRIPTS)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         if test -f $$d$$p; then \
diff -r a0420f0189c2 -r c6c501b0867d www/swish-e/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/swish-e/patches/patch-ab      Sun Jun 27 18:30:54 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.6 2004/06/27 18:30:54 kristerw Exp $
+
+--- conf/Makefile.in.orig      2004-06-27 19:53:09.000000000 +0200
++++ conf/Makefile.in   2004-06-27 19:55:25.000000000 +0200
+@@ -202,7 +202,7 @@
+ nobase_exampleDATA_INSTALL = $(install_sh_DATA)
+ install-nobase_exampleDATA: $(nobase_example_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(exampledir)
++      $(mkinstalldirs) $(DESTDIR)$(exampledir)/stopwords
+       @list='$(nobase_example_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f="$$p"; \



Home | Main Index | Thread Index | Old Index