1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/editors/nvi-m17n/files/patch-configure
John Marino 4c29178d9c editors/nvi-m17: Fix multibyte search on amd64, support stage
This commit enables multibyte search support on AMD64.  Previous search
attempts result in "Pattern not found".  The origin for this fix is pkgsrc
handled by a committer I know and trust.  While here, support stage.

PR: ports/182113
2014-01-15 17:32:50 +00:00

16 lines
420 B
Plaintext

--- configure.orig 2014-01-15 15:12:44.000000000 +0000
+++ configure
@@ -1805,10 +1805,8 @@ if test "$vi_cv_canna" = "yes"; then
case "$host_os" in
bsdi2.1)
vi_cannapath="/usr/contrib/canna";;
- freebsd2.2*|freebsd3*)
- vi_cannapath="/usr/local";;
- freebsd2*)
- vi_cannapath="/usr/local/canna";;
+ freebsd*|dragonfly*)
+ vi_cannapath="${prefix}";;
*)
vi_cannapath="/usr/local/canna";;
esac