packages: ghostscript/ghostscript.spec - added fPIC patch from Fedora, no -...
qboosh
qboosh at pld-linux.org
Fri Sep 17 09:08:02 CEST 2010
Author: qboosh Date: Fri Sep 17 07:08:02 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added fPIC patch from Fedora, no -fPIC for whole sources
---- Files affected:
packages/ghostscript:
ghostscript.spec (1.196 -> 1.197)
---- Diffs:
================================================================
Index: packages/ghostscript/ghostscript.spec
diff -u packages/ghostscript/ghostscript.spec:1.196 packages/ghostscript/ghostscript.spec:1.197
--- packages/ghostscript/ghostscript.spec:1.196 Fri Sep 17 09:05:52 2010
+++ packages/ghostscript/ghostscript.spec Fri Sep 17 09:07:57 2010
@@ -36,6 +36,7 @@
Patch4: %{name}-system-zlib.patch
Patch5: %{name}-cups-sh.patch
Patch6: %{name}-gdevcd8-fixes.patch
+Patch7: %{name}-fPIC.patch
URL: http://www.ghostscript.com/
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1.6
@@ -192,6 +193,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%build
%if %{with system_jbig2dec}
@@ -209,9 +211,8 @@
cd ..
%{__aclocal}
%{__autoconf}
-CFLAGS="%{rpmcflags} -DA4 -fPIC"
-export CFLAGS
%configure \
+ CFLAGS="%{rpmcflags} -DA4" \
--enable-dynamic \
--with-drivers=ALL%{?with_svga:,vgalib,lvga256} \
--with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
@@ -232,20 +233,16 @@
%{__make}
cd ..
-%{__make} -j1 \
+%{__make} -j1 so \
docdir=%{_docdir}/%{name}-%{version}
-%{__make} -j1 so \
+%{__make} -j1 \
docdir=%{_docdir}/%{name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- docdir=%{_docdir}/%{name}-%{version}
-
-%{__make} soinstall \
+%{__make} install soinstall \
DESTDIR=$RPM_BUILD_ROOT \
docdir=%{_docdir}/%{name}-%{version}
@@ -409,6 +406,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.197 2010/09/17 07:07:57 qboosh
+- added fPIC patch from Fedora, no -fPIC for whole sources
+
Revision 1.196 2010/09/17 07:05:52 qboosh
- make ijs at build stage, not install
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghostscript/ghostscript.spec?r1=1.196&r2=1.197&f=u
More information about the pld-cvs-commit
mailing list