Added a modified ebuild for mail-client/mailody that
[underlay.git] / app-crypt / qca / files / qca-1.0-fbsd.patch
blobce541a2196c7594b18825b0094134391265073f9
1 diff -x '*~' -ur qca-1.0/configure qca-1.0-fixed/configure
2 --- qca-1.0/configure 2003-12-10 01:06:43.000000000 +0100
3 +++ qca-1.0-fixed/configure 2005-05-24 18:03:08.912751344 +0200
4 @@ -1,4 +1,4 @@
5 -#!/bin/sh
6 +#!/bin/bash
8 show_usage() {
9 cat <<EOT
10 @@ -17,12 +17,12 @@
11 while [ $# -gt 0 ]; do
12 case "$1" in
13 --prefix=*)
14 - PREFIX=`expr "${1}" : "--prefix=\(.*\)"`
15 + PREFIX="${1/--prefix=/}"
16 shift
19 --qtdir=*)
20 - QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
21 + QTDIR="${1/--qtdir=/}"
22 shift
25 @@ -76,7 +76,7 @@
26 echo Warning: qmake not in \$QTDIR/bin/qmake
27 echo trying to find it in \$PATH
29 - qm=`type -p qmake`
30 + qm=`which qmake`
31 if [ -x "$qm" ]; then
32 if [ "$QC_DEBUG" = "Y" ]; then
33 echo qmake found in $qm