ports/net-im/psi/files/patch-configure
Kirill Ponomarev 1bab6385f4 - Fix build with x11-toolkits/qt32
- Fix support for gpg
- Fix bashism in configure

PR:		60644
Submitted by:	Eugene Ossintsev <eugos@gmx.net>
Approved by:	maintainer
2003-12-29 22:26:55 +00:00

27 lines
593 B
Text

$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