summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-08-23 21:37:24 +0000
committerreed <reed@pkgsrc.org>2005-08-23 21:37:24 +0000
commitbe7cf2d4f13fc64221753cc91fa4120480a3eff7 (patch)
tree022322528c8cee0fda3ccfe52c1bb948446a1fd2
parenta7ece3e577a323c8cf81bc316ae06e247416f686 (diff)
downloadpkgsrc-be7cf2d4f13fc64221753cc91fa4120480a3eff7.tar.gz
Add patch-ab to not use "which" command.
And set in configure environment: ASPELL and PREZIP to path to executables.
-rw-r--r--textproc/aspell-english/Makefile4
-rw-r--r--textproc/aspell-english/distinfo3
-rw-r--r--textproc/aspell-english/patches/patch-ab16
3 files changed, 21 insertions, 2 deletions
diff --git a/textproc/aspell-english/Makefile b/textproc/aspell-english/Makefile
index 6c7f123f611..8bcc3dd78b9 100644
--- a/textproc/aspell-english/Makefile
+++ b/textproc/aspell-english/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/04/11 21:47:32 tv Exp $
+# $NetBSD: Makefile,v 1.11 2005/08/23 21:37:24 reed Exp $
#
DISTNAME= aspell6-en-6.0-0
@@ -12,6 +12,8 @@ HOMEPAGE= http://aspell.net/
COMMENT= English language support for aspell
HAS_CONFIGURE= YES
+CONFIGURE_ENV+= ASPELL=${BUILDLINK_PREFIX.aspell}/bin/aspell
+CONFIGURE_ENV+= PREZIP=${BUILDLINK_PREFIX.aspell}/bin/prezip-bin
.include "../../textproc/aspell/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-english/distinfo b/textproc/aspell-english/distinfo
index 67ed77a9544..653f07c38df 100644
--- a/textproc/aspell-english/distinfo
+++ b/textproc/aspell-english/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:48:39 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/08/23 21:37:24 reed Exp $
SHA1 (aspell6-en-6.0-0.tar.bz2) = 9723820a22340bcc3a12aae45df26d9ff0608829
RMD160 (aspell6-en-6.0-0.tar.bz2) = 54eafdae618b241ca8fcc76898ddfcb3d04ee5b2
Size (aspell6-en-6.0-0.tar.bz2) = 182442 bytes
SHA1 (patch-aa) = e22211d1b77a79d16e2334630dc171245bb15677
+SHA1 (patch-ab) = 95767f553e37e39183ea5d26dc7ebfb488752cf5
diff --git a/textproc/aspell-english/patches/patch-ab b/textproc/aspell-english/patches/patch-ab
new file mode 100644
index 00000000000..d1b82d60fad
--- /dev/null
+++ b/textproc/aspell-english/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2005/08/23 21:37:24 reed Exp $
+
+--- configure.orig 2004-08-10 09:01:33.000000000 +0000
++++ configure 2005-08-23 21:25:25.184621000 +0000
+@@ -79,9 +79,9 @@
+ datadir=`$ASPELL dump config data-dir`
+ echo $datadir
+
+-echo "ASPELL = `which $ASPELL`" > Makefile
++echo "ASPELL = $ASPELL" > Makefile
+ echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
+-echo "PREZIP = `which $PREZIP`" >> Makefile
++echo "PREZIP = $PREZIP" >> Makefile
+ echo "DESTDIR = $DESTDIR" >> Makefile
+ echo "dictdir = $dictdir" >> Makefile
+ echo "datadir = $datadir" >> Makefile