]> git.pld-linux.org Git - packages/hdf.git/commitdiff
- fix building on x32 auto/th/hdf-4.2.11-2
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 6 Mar 2015 23:39:36 +0000 (23:39 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 6 Mar 2015 23:39:36 +0000 (23:39 +0000)
- rel 2

hdf.spec

index ac305885b4e6af5d9e6461dc5dad6a5d6e0e0be0..bb3016693c18e25c0b7f472c4125df669fb38c49 100644 (file)
--- a/hdf.spec
+++ b/hdf.spec
@@ -6,7 +6,7 @@ Summary:        Hierarchical Data Format library
 Summary(pl.UTF-8):     Biblioteka HDF (Hierarchical Data Format)
 Name:          hdf
 Version:       4.2.11
-Release:       1
+Release:       2
 Epoch:         1
 Group:         Libraries
 License:       Nearly BSD, but changed sources must be marked
@@ -128,7 +128,11 @@ sed -i '/^if HDF_BUILD_XDR/,/^endif/d;/^if HDF_BUILD_SHARED/,/^endif/d' config/c
 %{__automake}
 # need to pass F77 to override F77=g77 in config/linux-gnu
 %configure \
+%ifarch x32
+       F77="x86_64-pld-linux-gnux32-gfortran" \
+%else
        F77="%{_target_cpu}-pld-linux-gfortran" \
+%endif
        --enable-shared \
        %{?with_szip:--with-szlib}
 
This page took 0.167817 seconds and 4 git commands to generate.