summaryrefslogtreecommitdiff
path: root/net/psi/files/patch-configure
blob: d0a064d0584998de6e0719098696dbef0dc855e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$FreeBSD$

Hack configure to eat autogenerated qt options and to fix a bashism (type -p).

--- configure.orig	Tue Jun 10 20:12:49 2003
+++ configure	Tue Dec 23 11:40:49 2003
@@ -86,6 +86,8 @@
 			;;
 
 		-h|--help) show_usage; exit ;;
+		--with-*)
+			shift;;
 		*) show_usage; exit ;;
 	esac
 done
@@ -116,9 +118,9 @@
 fi 
 
 if [ ! -x "$QTDIR/bin/qmake" ]; then
-	echo Warining: qmake not in \$QTDIR/bin/qmake
+	echo Warning: qmake not in \$QTDIR/bin/qmake
 	echo trying to find it in \$PATH
-	qm=`type -p qmake`
+	qm=`which qmake`
 	if [ -x "$qm" ]; then
 		echo qmake found in $qm
 	else