]> git.pld-linux.org Git - packages/ghostscript.git/commitdiff
- ijs now get cflags from rpm.. and that made it possible to build on alpha
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 29 Jun 2003 22:00:09 +0000 (22:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ghostscript.spec -> 1.115

ghostscript.spec

index 9f71b6d2b5f2ed22bf08591e9144f6482b1df1fe..365a9ebcf3a9489a7af20a96573515b72fb00af9 100644 (file)
@@ -30,6 +30,7 @@ Patch2:               %{name}-cdj880.patch
 Patch4:                %{name}-missquotes.patch
 Patch5:                %{name}-setuid.patch
 Patch6:                %{name}-time_h.patch
+Patch7:                %{name}-ijs_cflags.patch
 URL:           http://www.ghostscript.com/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
@@ -149,6 +150,7 @@ Filtr CUPS-a obs
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7
 ln -sf jp* jpeg
 
 %build
@@ -167,7 +169,11 @@ export CFLAGS
        --with-x
 cd ijs
 %{__autoconf}
-%configure
+%ifarch alpha
+%configure CFLAGS="%{rpmcflags} -fPIC"
+%else
+%configure CFLAGS="%{rpmcflags}"
+%endif
 cd ..
 
 #%%{__make} so \
This page took 0.030246 seconds and 4 git commands to generate.