Forráskód Böngészése

fix building and try to bless as PLUS

Ralf S. Engelschall 23 éve
szülő
commit
516ebd532b
1 módosított fájl, 9 hozzáadás és 3 törlés
  1. 9 3
      doxygen/doxygen.spec

+ 9 - 3
doxygen/doxygen.spec

@@ -29,11 +29,11 @@ Summary:      Source Code Documentation Extraction Tool
 URL:          http://www.stack.nl/~dimitri/doxygen/
 Vendor:       Dimitri van Heesch
 Packager:     The OpenPKG Project
-Distribution: OpenPKG [EVAL]
+Distribution: OpenPKG [PLUS]
 Group:        Text
 License:      GPL
 Version:      1.2.18
-Release:      20021204
+Release:      20030117
 
 #   list of sources
 Source0:      ftp://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
@@ -53,6 +53,12 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    opt=""
+    case "%{l_target}" in
+        *-freebsd* ) opt="--platform freebsd-g++" ;;
+        *-linux*   ) opt="--platform linux-g++"   ;;
+        *-solaris* ) opt="--platform solaris-g++" ;;
+    esac
     CC="%{l_cc}" \
     CXX="%{l_cxx}" \
     CFLAGS="%{l_cflags -O}" \
@@ -64,7 +70,7 @@ AutoReqProv:  no
         --install %{l_prefix}/bin/install \
         --release \
         --english-only \
-        --static
+        --static $opt
     %{l_make} %{l_mflags -O}
 
 %install