diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-29 20:21:27 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-29 20:21:27 +0000 |
commit | 4b59b2b651fdd2d59a06e3c989303e73e534ff3d (patch) | |
tree | 31072fa33c716cf98c2ca5d05fc1aea20f3e3146 /app-crypt/xca/files | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-4b59b2b651fdd2d59a06e3c989303e73e534ff3d.tar.gz gentoo-2-4b59b2b651fdd2d59a06e3c989303e73e534ff3d.tar.bz2 gentoo-2-4b59b2b651fdd2d59a06e3c989303e73e534ff3d.zip |
Version bump (bug #317293).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/xca/files')
-rw-r--r-- | app-crypt/xca/files/xca-0.8.1-qt_detection.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-crypt/xca/files/xca-0.8.1-qt_detection.patch b/app-crypt/xca/files/xca-0.8.1-qt_detection.patch new file mode 100644 index 000000000000..a8c4f4a28fdd --- /dev/null +++ b/app-crypt/xca/files/xca-0.8.1-qt_detection.patch @@ -0,0 +1,38 @@ +--- configure ++++ configure +@@ -101,15 +101,17 @@ + # check for libs + search_lib() { + for dir in ${DIRS}; do +- for dbn in $@; do +- for suffix in so dylib obj a; do +- for lib in lib out; do +- if test -r "${dir}/${lib}/lib${dbn}.${suffix}"; then +- add_lib "${dir}/${lib}" "${dbn}" "${suffix}" +- echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}" +- return 0 +- fi +- done ++ for subdir in "" ${subdirs}; do ++ for dbn in $@; do ++ for suffix in so dylib obj a; do ++ for lib in lib out; do ++ if test -r "${dir}/${lib}/${subdir}/lib${dbn}.${suffix}"; then ++ add_lib "${dir}/${lib}/${subdir}" "${dbn}" "${suffix}" ++ echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}/${subdir}" ++ return 0 ++ fi ++ done ++ done + done + done + done +@@ -121,7 +123,7 @@ + ######################### QT + subdirs="/qt /qt4" + search_includes Qt/qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately." +-subdirs="/qt/Qt /qt4/Qt /Qt" ++subdirs="/qt/Qt /qt4/Qt /Qt /qt4" + search_includes qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately." + search_lib QtGui4 QtGui || err "The QT library was not found." + search_lib ltdl || err "Libtool ltdl not found." |