|
|
|
@ -49,7 +49,7 @@ qt_pass() { |
|
|
|
# pkginstalled postgresql && var_append confopt " " "-plugin-sql-psql \ |
|
|
|
# -I$pkg_postgresql_prefix/include" # maybe more |
|
|
|
|
|
|
|
if [ $xpkg == qt33 ]; then |
|
|
|
if [ $xpkg == qt3 ]; then |
|
|
|
var_append CXXFLAGS " " "-I/usr/X11/include" |
|
|
|
pkginstalled libmng && var_append confopt " " "-system-libmng" |
|
|
|
var_append confopt " " "-thread" |
|
|
|
@ -79,7 +79,7 @@ qt_pass() { |
|
|
|
) |
|
|
|
|
|
|
|
echo "Copy some documentation ..." |
|
|
|
if [ $xpkg == qt33 ] ; then |
|
|
|
if [ $xpkg == qt3 ] ; then |
|
|
|
cp -a ch* tutorial $docdir/ |
|
|
|
elif [ $xpkg == qt42 ] ; then |
|
|
|
cp -a changes-$ver $docdir/ |
|
|
|
@ -88,10 +88,10 @@ qt_pass() { |
|
|
|
find $docdir -name '*.o' | xargs rm -vf |
|
|
|
find $docdir -type f -perm +111 -exec strip -v '{}' \; |
|
|
|
|
|
|
|
# until kde 4 which will be based on qt4 the standard is qt33 here |
|
|
|
if [ $xpkg == qt33 ]; then |
|
|
|
cat > $root/etc/profile.d/qt33 <<-EOT |
|
|
|
QT33DIR=$root/opt/qt33 |
|
|
|
# until kde 4 which will be based on qt4 the standard is qt3 here |
|
|
|
if [ $xpkg == qt3 ]; then |
|
|
|
cat > $root/etc/profile.d/qt3 <<-EOT |
|
|
|
QT33DIR=$root/opt/qt3 |
|
|
|
QTDIR=\$QT33DIR |
|
|
|
export QT33DIR QTDIR |
|
|
|
EOT |
|
|
|
|