openbsd-ports/comms/hylafax/patches/patch-ag

46 lines
1.5 KiB
Plaintext

--- configure.orig Sat Feb 14 11:46:28 1998
+++ configure Thu Jun 17 03:55:04 1999
@@ -248,7 +248,7 @@
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others
-test -d /usr/local/bin && PATH=/usr/local/bin:$PATH # for GNU stuff
+test -d /usr/local/bin && PATH=$PATH:/usr/local/bin # for GNU stuff
PATH=$PATH:$OPATH
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions
@@ -911,7 +911,7 @@
compiler=$1
if isGNU $compiler; then
ISGXX=yes
- checkGCCVersion $compiler 2 6 1 || return 1
+# checkGCCVersion $compiler 2 6 1 || return 1
else
ISGXX=no
fi
@@ -3399,6 +3399,7 @@
*-solaris*) LOCKS="+ascii";;
*-freebsd*) LOCKS=ascii;;
*-netbsd*) LOCKS=ascii;;
+ *-openbsd*) LOCKS=ascii;;
*bsd*) LOCKS=binary;;
*) LOCKS=ascii;;
esac
@@ -3575,6 +3576,7 @@
*-bsdi*|*-netbsd*) MANSCHEME=bsd-nroff-gzip-0.gz;;
*-freebsd*) MANSCHEME=bsd-source-cat;;
*-linux*) MANSCHEME=bsd-source-cat;;
+ *-openbsd*) MANSCHEME=bsd-source-cat;;
*-ultrix*) MANSCHEME=bsd-source-cat;;
*-sunos*) MANSCHEME=bsd-source-cat-strip;;
*-sysv[234]*) MANSCHEME=sysv-source-cat-strip;;
@@ -3966,7 +3968,7 @@
printConfig
checkForExecutable $PATH_SENDMAIL
checkForExecutable $PATH_GETTY
- prompt "Are these ok [yes]?"; read ok
+ ok=yes # prompt "Are these ok [yes]?"; read ok
test -z "$ok" && ok=yes
case "$ok" in
[1-9]|1[0-9]) promptForParameter $ok;;