diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-07-09 21:20:12 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-07-09 21:20:12 +0000 |
commit | c303964e74fe3177f68524f5e6dec0ca24e2ac78 (patch) | |
tree | 7b1c23f2880d80ef6b121a9592ba970207778667 /app-crypt/qca/files | |
parent | qt_pkg_setup -> qt3_pkg_setup (diff) | |
download | gentoo-2-c303964e74fe3177f68524f5e6dec0ca24e2ac78.tar.gz gentoo-2-c303964e74fe3177f68524f5e6dec0ca24e2ac78.tar.bz2 gentoo-2-c303964e74fe3177f68524f5e6dec0ca24e2ac78.zip |
patch for *bsd people
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-crypt/qca/files')
-rw-r--r-- | app-crypt/qca/files/qca-1.0-fbsd.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-crypt/qca/files/qca-1.0-fbsd.patch b/app-crypt/qca/files/qca-1.0-fbsd.patch new file mode 100644 index 000000000000..ce541a2196c7 --- /dev/null +++ b/app-crypt/qca/files/qca-1.0-fbsd.patch @@ -0,0 +1,33 @@ +diff -x '*~' -ur qca-1.0/configure qca-1.0-fixed/configure +--- qca-1.0/configure 2003-12-10 01:06:43.000000000 +0100 ++++ qca-1.0-fixed/configure 2005-05-24 18:03:08.912751344 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + + show_usage() { + cat <<EOT +@@ -17,12 +17,12 @@ + while [ $# -gt 0 ]; do + case "$1" in + --prefix=*) +- PREFIX=`expr "${1}" : "--prefix=\(.*\)"` ++ PREFIX="${1/--prefix=/}" + shift + ;; + + --qtdir=*) +- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"` ++ QTDIR="${1/--qtdir=/}" + shift + ;; + +@@ -76,7 +76,7 @@ + echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p qmake` ++ qm=`which qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then + echo qmake found in $qm |