Sfoglia il codice sorgente

Port to work with new qt library version 3.2 with threads, and try to fix missing TIFF functions

Michael Schloh von Bennewitz 23 anni fa
parent
commit
ce2ee22030
1 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  1. 8 3
      scribus/scribus.spec

+ 8 - 3
scribus/scribus.spec

@@ -23,7 +23,8 @@
 ##  SUCH DAMAGE.
 ##
 
-#   FIXME: ms: Has JUNK status, because it locks up during a fcntl(2) on FreeBSD.
+#   FIXME: ms: Has JUNK status, it locks up during a fcntl(2) on FreeBSD.
+#   FIXME: ms: Missing TIFF and JPEG logic, because of faulty configure.
 
 #   package version
 %define       V_dist 1.0
@@ -39,7 +40,7 @@ Distribution: OpenPKG [JUNK]
 Group:        Misc
 License:      GPL
 Version:      %{V_opkg}
-Release:      20030715
+Release:      20030730
 
 #   list of sources
 Source0:      http://scribus.planetmirror.com/scribus-%{V_dist}.tar.gz
@@ -78,13 +79,17 @@ AutoReqProv:  no
             echo "X_PRE_LIBS=-lGL" >config.cache
             LIBS="$LIBS -lGL"
             ;;
+        *-solaris* )
+            LIBS="$LIBS -lrt"
+            ;;
     esac
     CC="%{l_cc}" \
     CXX="%{l_cxx}" \
     CFLAGS="%{l_cflags -O}" \
     CXXFLAGS="%{l_cxxflags -O}" \
-    CPPFLAGS="%{l_cppflags}" \
+    CPPFLAGS="%{l_cppflags tiff qt freetype2}" \
     LDFLAGS="%{l_ldflags}" \
+    LIBS="$LIBS" \
     ./configure \
         --cache-file=./config.cache \
         --prefix=%{l_prefix} \