SPECS: pgplot.spec - added compile.patch - fixed linking - fixed c...
sls
sls at pld-linux.org
Sat Feb 24 12:15:35 CET 2007
Author: sls Date: Sat Feb 24 11:15:35 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added compile.patch
- fixed linking
- fixed compilation of cpg
---- Files affected:
SPECS:
pgplot.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/pgplot.spec
diff -u SPECS/pgplot.spec:1.29 SPECS/pgplot.spec:1.30
--- SPECS/pgplot.spec:1.29 Sat Feb 24 10:46:28 2007
+++ SPECS/pgplot.spec Sat Feb 24 12:15:29 2007
@@ -14,6 +14,7 @@
Patch2: %{name}-drv.patch
Patch3: %{name}-config.patch
Patch4: %{name}-png.patch
+Patch5: %{name}-compile.patch
URL: http://astro.caltech.edu/~tjp/pgplot/
BuildRequires: XFree86-devel
BuildRequires: gcc-fortran
@@ -71,11 +72,13 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
./makemake . linux g77_gcc
%{__make} \
FCOMPL=gfortran \
+ SHARED_LD="gfortran -shared -o libpgplot.so.5.2.2 -Wl,-soname,libpgplot.so.5 -f2c" \
FFLAGC="-u -Wall -fPIC %{rpmcflags}" \
CFLAGC="-Wall -fPIC -DPG_PPU %{rpmcflags}" \
CFLAGD="-Wall %{rpmcflags}" \
@@ -84,6 +87,7 @@
MOTIF_LIBS="-L/usr/X11R6/%{_lib} -lXm -lXt -lX11"
%{__make} cpg \
+ FCOMPL=gfortran \
CFLAGD="-Wall %{rpmcflags}" \
LIBS="-L/usr/X11R6/%{_lib} -lX11"
@@ -156,6 +160,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2007/02/24 11:15:29 sls
+- added compile.patch
+- fixed linking
+- fixed compilation of cpg
+
Revision 1.29 2007/02/24 09:46:28 sls
- fixed to compile with gcc-4
- BR: gcc-g77 changed to gcc-fortran
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pgplot.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list