aboutsummaryrefslogtreecommitdiff
path: root/textproc/hunspell/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-05-20 14:52:50 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-05-20 14:52:50 +0000
commit0e8d24bf420689751b8dc250b796756b88b6dcef (patch)
treef84f97599e5c94004c70a23136cab15020289b91 /textproc/hunspell/files
parentd7c7a482a82f6a63381543ddd032857eb085195a (diff)
downloadports-0e8d24bf420689751b8dc250b796756b88b6dcef.tar.gz
ports-0e8d24bf420689751b8dc250b796756b88b6dcef.zip
Notes
Diffstat (limited to 'textproc/hunspell/files')
-rw-r--r--textproc/hunspell/files/patch-Makefile41
-rw-r--r--textproc/hunspell/files/patch-csutil.cxx18
-rw-r--r--textproc/hunspell/files/patch-hunspell.cxx13
3 files changed, 72 insertions, 0 deletions
diff --git a/textproc/hunspell/files/patch-Makefile b/textproc/hunspell/files/patch-Makefile
new file mode 100644
index 000000000000..21aa5c7ad884
--- /dev/null
+++ b/textproc/hunspell/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig Wed Dec 17 18:50:49 2003
++++ Makefile Thu May 20 15:04:38 2004
+@@ -1,29 +1,29 @@
+ #------ beállítások -- configuration -------------------
+ # szótárak -- dictionaries (hu_HU.aff, hu_HU.dic)
+-MYSPELL_DIR?=/usr/share/myspell
++MYSPELL_DIR?=${PREFIX}/share/myspell
+ # Hunmorph szótárak -- hu_HU.morph, extended hu_HU.aff, hu_HU.dic
+-HUNMORPH_DIR?=/usr/share/hunmorph
++HUNMORPH_DIR?=${PREFIX}/share/hunmorph
+ # Magyar üzenetek -- Hungarian messages
+-LOCALE_DIR?=/usr/share/locale
++LOCALE_DIR?=${PREFIX}/share/locale
+ # Kézikönyvoldalak -- Manual pages
+-MAN_DIR?=/usr/share/man
++MAN_DIR?=${PREFIX}/share/man
+ # Magyar kézikönyvoldalak -- Hungarian manual pages
+-MAN_HU_DIR?=/usr/share/man/hu
++MAN_HU_DIR?=${PREFIX}/share/man/hu
+ # Futtatható program helye -- Directory for executables
+-BIN_DIR?=/usr/bin
++BIN_DIR?=${PREFIX}/bin
+ #--------------------------------------------------------
+
+-CC=g++
++CC=$(CXX)
+ #CC=/opt/SUNWspro/bin/CC
+
+-CXXFLAGS=-O2 -Wall -ansi -pedantic -I.
++CXXFLAGS+= -Wall -ansi -pedantic -I. -I${LOCALBASE}/include
+
+ # for debug only
+ #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I.
+ #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I. -g
+ #CXXFLAGS=-O2 +w2 -I.
+
+-LDFLAGS=-L. -lmyspell
++LDFLAGS=-L. -lmyspell -L$(LOCALBASE)/lib -lintl -lstdc++
+
+ LIBS=libmyspell.a
+
diff --git a/textproc/hunspell/files/patch-csutil.cxx b/textproc/hunspell/files/patch-csutil.cxx
new file mode 100644
index 000000000000..3197e047ccc5
--- /dev/null
+++ b/textproc/hunspell/files/patch-csutil.cxx
@@ -0,0 +1,18 @@
+--- csutil.cxx.orig Wed Dec 17 18:50:49 2003
++++ csutil.cxx Thu May 20 15:20:06 2004
+@@ -3315,7 +3315,7 @@
+ }
+ }
+ return ccs;
+-};
++}
+
+
+
+@@ -3348,5 +3348,5 @@
+ }
+ }
+ return NULL;
+-};
++}
+
diff --git a/textproc/hunspell/files/patch-hunspell.cxx b/textproc/hunspell/files/patch-hunspell.cxx
new file mode 100644
index 000000000000..5473c35eae82
--- /dev/null
+++ b/textproc/hunspell/files/patch-hunspell.cxx
@@ -0,0 +1,13 @@
+--- hunspell.cxx.orig Wed Dec 17 18:50:49 2003
++++ hunspell.cxx Thu May 20 15:54:49 2004
+@@ -49,8 +49,8 @@
+ #include "manparser.hxx"
+ #include "firstparser.hxx"
+
+-#define LIBDIR "/usr/share/myspell/"
+-#define LIBDIR2 "/usr/share/hunmorph/"
++#define LIBDIR "%%PREFIX%%/share/myspell/"
++#define LIBDIR2 "%%PREFIX%%/share/hunmorph/"
+ #define HOME getenv("HOME")
+ #define DICBASENAME ".hunspell_"
+ #define LOGFILE "/tmp/hunspell.log"