Update of /cvsroot/fink/dists/10.2-gcc3.3/stable/main/finkinfo/x11
In directory sc8-pr-cvs1:/tmp/cvs-serv7232/10.2-gcc3.3/stable/main/finkinfo/x11

Modified Files:
        qt3.info 
Log Message:
moved to stable

Index: qt3.info
===================================================================
RCS file: /cvsroot/fink/dists/10.2-gcc3.3/stable/main/finkinfo/x11/qt3.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- qt3.info    10 Nov 2003 14:06:21 -0000      1.5
+++ qt3.info    13 Nov 2003 15:35:40 -0000      1.6
@@ -1,6 +1,6 @@
 Package: qt3
 Version: 3.2.2
-Revision: 1
+Revision: 2
 GCC: 3.3
 Source: mirror:sourceforge:fink/qt-x11-free-%v.tar.bz2
 Source-MD5: 77d6e71e603fa54b9898d3364ef42aef
@@ -20,6 +20,34 @@
 NoSetLDFLAGS: true
 CompileScript: <<
 #!/bin/sh
+
+ CURRENTVERSION=`dpkg -p qt3 | grep '^Version:' | cut -d' ' -f2-`
+ DOREMOVE=0
+ for BADUPGRADE in 3.2.1-1 3.2.1-11 3.2.1-12; do
+   if [ "$CURRENTVERSION" = "$BADUPGRADE" ]; then
+     DOREMOVE=1
+   fi
+ done
+
+ if [ "$DOREMOVE" = "1" ]; then
+   echo "You have a version of qt3 installed that contains a bug that makes it 
impossible"
+   echo "to build this package.  I am going to remove qt3 not to allow the upgrade to"
+   echo "happen.  It should get re-installed as needed when the upgrade completes."
+   echo ""
+   echo -e "removing qt3... \c"
+   if dpkg -r --force-depends qt3 >/tmp/dpkg.output 2>&1; then
+     echo "done"
+   else
+     echo "failed!"
+     echo ""
+     echo "I was unable to remove the old qt3, this will probably cause problems 
building"
+     echo "this package.  Please remove qt3 and then retry this build."
+     echo ""
+     echo "---( dpkg output )---"
+     cat /tmp/dpkg.output
+   fi
+ fi
+
  export QTDIR=`pwd`
  export DYLD_LIBRARY_PATH="$QTDIR/lib:/usr/X11R6/lib:$DYLD_LIBRARY_PATH"
  export PATH="$QTDIR/bin:$PATH"
@@ -160,6 +188,8 @@
  find %i/share/doc/%n -name .obj -exec rm -rf {} \; >/dev/null 2>&1
  find %i/share/doc/%n/examples %i/share/doc/%n/tutorial -name Makefile -exec rm -rf 
{} \; >/dev/null 2>&1
  find %i/share/doc/%n -name \*.pro -exec perl -pi -e 's,^(CONFIG\s*.*)$,$1 thread,' 
{} \; >/dev/null 2>&1
+
+ perl -pi -e 's,\$\(QTDIR\),%p,g' %p/lib/libqt-mt.la
 
  mkdir -p %i/share/doc/kde-installed-packages
  touch %i/share/doc/kde-installed-packages/qt3




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to