openbsd-ports/editors/nvi-m17n/patches/patch-build_configure
2007-10-26 20:44:35 +00:00

17 lines
526 B
Plaintext

$OpenBSD: patch-build_configure,v 1.1 2007/10/26 20:49:32 ajacoutot Exp $
--- build/configure.orig Fri Oct 26 22:46:41 2007
+++ build/configure Fri Oct 26 22:46:42 2007
@@ -1807,10 +1807,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*|netbsd*|openbsd*)
+ vi_cannapath="${prefix}";;
*)
vi_cannapath="/usr/local/canna";;
esac