diff options
Diffstat (limited to 'textproc/aspell-da/patches/patch-aa')
-rw-r--r-- | textproc/aspell-da/patches/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/aspell-da/patches/patch-aa b/textproc/aspell-da/patches/patch-aa new file mode 100644 index 00000000000..1b67c07c142 --- /dev/null +++ b/textproc/aspell-da/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1 2013/04/09 02:33:38 rodent Exp $ + +--- Makefile.orig 2009-11-04 13:52:19.000000000 -0800 ++++ Makefile 2009-12-02 09:45:44.000000000 -0800 +@@ -9,16 +9,14 @@ country_code=DK + lang=da + version=1.7.30 + +-dictdir=`aspell dump config | grep '^\# dict-dir current: ' | cut -d' ' -f4` +-datadir=`aspell dump config | grep '^\# data-dir current: ' | cut -d' ' -f4` ++dictdir=${DESTDIR}`aspell config dict-dir` ++datadir=${DESTDIR}`aspell config data-dir` + + all: $(sprog) $(sprog).dat $(sprog)_phonet.dat + + install: $(sprog).dat $(sprog)_phonet.dat $(sprog) +- chown root.root $(sprog).dat $(sprog)_phonet.dat $(sprog) +- chmod 0644 $(sprog).dat $(sprog)_phonet.dat $(sprog) +- mv $(sprog).dat $(sprog)_phonet.dat $(datadir) +- mv $(sprog) $(dictdir) ++ ${BSD_INSTALL_DATA} $(sprog).dat $(sprog)_phonet.dat $(datadir) ++ ${BSD_INSTALL_DATA} $(sprog) $(dictdir) + ln -fs $(datadir)/$(sprog).dat $(datadir)/$(language_code)_$(country_code).dat || true + ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(language_code)_$(country_code)_phonet.dat || true + ln -fs $(dictdir)/$(sprog) $(dictdir)/$(language_code)_$(country_code) || true |