1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/comms/hylafax/files/patch-ab
1999-09-07 10:45:31 +00:00

38 lines
1.3 KiB
Plaintext

--- configure.orig Wed Nov 27 08:20:17 1996
+++ configure Mon Feb 2 10:21:51 1998
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/bash
# $Id: patch-ab,v 1.4 1998/02/02 01:25:38 itojun Exp $
#
# HylaFAX Facsimile Software
@@ -239,7 +239,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
@@ -2820,7 +2820,8 @@
printf("old include files: version %u\n", TIFFLIB_VERSION);
exit(-1);
}
- if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) != 0) {
+ if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) != 0 &&
+ strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.5", 20) != 0) {
printf("old library: version %s\n", TIFFGetVersion());
exit(-1);
} else
@@ -3966,7 +3967,8 @@
printConfig
checkForExecutable $PATH_SENDMAIL
checkForExecutable $PATH_GETTY
- prompt "Are these ok [yes]?"; read ok
+# prompt "Are these ok [yes]?"; read ok
+ ok=yes
test -z "$ok" && ok=yes
case "$ok" in
[1-9]|1[0-9]) promptForParameter $ok;;