aboutsummaryrefslogtreecommitdiff
path: root/textproc/aspell
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-10-18 12:51:55 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-10-18 12:51:55 +0000
commit7b12bfeff76762dffc294d801163e44980c56095 (patch)
tree1ce678f3f74578bad102d3da803e9f1b937123d3 /textproc/aspell
parent26eecc472a5e4b97949c4d95e5fec8c07945c382 (diff)
downloadports-7b12bfeff76762dffc294d801163e44980c56095.tar.gz
ports-7b12bfeff76762dffc294d801163e44980c56095.zip
Fix configure to accept CXXFLAGS.
Since I'm there, use DATADIR. PR: ports/71787 Submitted by: Alex Semenyaka.
Notes
Notes: svn path=/head/; revision=119721
Diffstat (limited to 'textproc/aspell')
-rw-r--r--textproc/aspell/files/patch-configure19
-rw-r--r--textproc/aspell/pkg-plist18
2 files changed, 23 insertions, 14 deletions
diff --git a/textproc/aspell/files/patch-configure b/textproc/aspell/files/patch-configure
index 3681a2415791..e508b39feebf 100644
--- a/textproc/aspell/files/patch-configure
+++ b/textproc/aspell/files/patch-configure
@@ -1,6 +1,15 @@
---- configure.orig Sat Jul 31 17:06:43 2004
-+++ configure Wed Aug 4 22:48:38 2004
-@@ -9795,13 +9795,6 @@
+--- configure.orig Mon Aug 23 03:22:42 2004
++++ configure Mon Oct 18 14:05:59 2004
+@@ -2902,7 +2902,7 @@
+ fi
+
+
+-if test "$GXX" = "yes" && expr "$CXXFLAGS" : '.*-O' > /dev/null
++if test "$GXX" = "yes" && expr -- "$CXXFLAGS" : '.*-O' > /dev/null
+ then
+ CXXFLAGS="$CXXFLAGS -fno-exceptions"
+ fi
+@@ -9825,13 +9825,6 @@
;;
esac
@@ -14,7 +23,7 @@
# Update the list of available tags.
if test -n "$tagname"; then
echo appending configuration tag \"$tagname\" to $ofile
-@@ -19301,6 +19294,10 @@
+@@ -19379,6 +19372,10 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -25,7 +34,7 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -21191,16 +21188,16 @@
+@@ -21274,16 +21271,16 @@
/* end confdefs.h. */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
diff --git a/textproc/aspell/pkg-plist b/textproc/aspell/pkg-plist
index 979dc52b97ac..5f6941c4cbd5 100644
--- a/textproc/aspell/pkg-plist
+++ b/textproc/aspell/pkg-plist
@@ -74,15 +74,15 @@ lib/libaspell.so.16
lib/libpspell.a
lib/libpspell.so
lib/libpspell.so.16
-share/aspell/ccpp.amf
-share/aspell/comment.amf
-share/aspell/email.amf
-share/aspell/html.amf
-share/aspell/none.amf
-share/aspell/perl.amf
-share/aspell/sgml.amf
-share/aspell/tex.amf
-share/aspell/url.amf
+%%DATADIR%%/ccpp.amf
+%%DATADIR%%/comment.amf
+%%DATADIR%%/email.amf
+%%DATADIR%%/html.amf
+%%DATADIR%%/none.amf
+%%DATADIR%%/perl.amf
+%%DATADIR%%/sgml.amf
+%%DATADIR%%/tex.amf
+%%DATADIR%%/url.amf
%%NLS%%share/locale/be/LC_MESSAGES/aspell.mo
%%NLS%%share/locale/cs/LC_MESSAGES/aspell.mo
%%NLS%%share/locale/da/LC_MESSAGES/aspell.mo