Browse Source

added support for our big three

Christoph Schug 24 years ago
parent
commit
99f8fe4c8d
1 changed files with 9 additions and 3 deletions
  1. 9 3
      c-client/c-client.spec

+ 9 - 3
c-client/c-client.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
 Group:        Mail
 License:      University of Washington's Free-Fork License
 Version:      2001a
-Release:      20020420
+Release:      20020422
 
 #   list of sources
 Source0:      ftp://ftp.cac.washington.edu/imap/imap-%{version}.tar.Z
@@ -41,7 +41,7 @@ Source0:      ftp://ftp.cac.washington.edu/imap/imap-%{version}.tar.Z
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReqProv:  no
@@ -55,15 +55,21 @@ AutoReqProv:  no
 %build
     os=""
     case "%{l_target}" in
+        *-freebsd*)
+            os=bsf
+            ;;
         *-linux*)
             os=slx
             ;;
+        *-solaris*)
+            os=gso
+            ;;
         *)
             echo "Unsupported platform" 1>&2
             exit 1
             ;;
     esac
-    %{l_make} %{l_mflags -O} $os
+    %{l_make} $os
 
 %install
     rm -rf $RPM_BUILD_ROOT