Browse Source

qt3: introduced QT3-QUIRK flag, to inject -I and -L

user/chris/old/ruby
Alejandro Mery 15 years ago
parent
commit
19b46b972a
  1. 17
      qt/qt3/parse-config
  2. 5
      qt/qt3/qt3.desc

17
qt/qt3/parse-config

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../qt3/parse-config # Filename: package/.../qt3/parse-config
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 - 2009 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -19,3 +19,18 @@ if hasflag QT3-PLUGIN; then
flistdel="$flistdel|.*/qt_plugins_3.3rc" flistdel="$flistdel|.*/qt_plugins_3.3rc"
fi fi
fi fi
if pkginstalled -f qt3; then
if hasflag QT3-QUIRK; then
echo_warning "Injecting -L and -I to find qt3 as requested."
pkgprefix -t qt3
QT3INCDIR=$(pkgprefix -r includedir qt3)
QT3LIBDIR=$(pkgprefix -r libdir qt3)
var_append GCC_WRAPPER_APPEND ' ' "-L$QT3LIB"
var_append CPP_WRAPPER_APPEND ' ' "-L$QT3LIB"
var_append GCC_WRAPPER_APPEND ' ' "-I$QT3INC"
var_append CPP_WRAPPER_APPEND ' ' "-I$QT3INC"
fi
fi

5
qt/qt3/qt3.desc

@ -1,9 +1,8 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- [COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] [COPY]
[COPY] Filename: package/.../qt3/qt3.desc [COPY] Filename: package/.../qt3/qt3.desc
[COPY] Copyright (C) 2006 - 2008 The OpenSDE Project [COPY] Copyright (C) 2006 - 2009 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf [COPY] Copyright (C) 1998 - 2004 Clifford Wolf
[COPY] [COPY]
@ -27,6 +26,7 @@
[M] Nagy Karoly Gabriel <nagy.karoly@opensde.org> [M] Nagy Karoly Gabriel <nagy.karoly@opensde.org>
[C] extra/development [C] extra/development
[F] QT3-PLUGIN
[L] GPL [L] GPL
[S] Stable [S] Stable
@ -34,4 +34,3 @@
[P] X -----5---9 127.000 [P] X -----5---9 127.000
[D] 499223585 qt-x11-free-3.3.8b.tar.gz ftp://ftp.trolltech.com/qt/source/ [D] 499223585 qt-x11-free-3.3.8b.tar.gz ftp://ftp.trolltech.com/qt/source/

Loading…
Cancel
Save