]> git.pld-linux.org Git - packages/freetype.git/commitdiff
- make it build on AC auto/ac/freetype-2_3_7-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 Sep 2008 11:05:06 +0000 (11:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freetype.spec -> 1.139

freetype.spec

index 6384669197ce0b64280e1d4ef9c7ab8842cc0f38..5d4d0929b059f5bbd33b15ae97ab0c0cfdd06fa6 100644 (file)
@@ -27,12 +27,17 @@ Source2:    http://dl.sourceforge.net/freetype/ft2demos-%{version}.tar.bz2
 URL:           http://www.freetype.org/
 BuildRequires: automake
 BuildRequires: python
+BuildRequires: rpm >= 4.4.9-56
+%if "%{pld_release}" == "ac"
+%{?with_x11:BuildRequires:     XFree86-devel}
+%else
 %{?with_x11:BuildRequires:     xorg-lib-libX11-devel}
+%endif
 BuildRequires: zlib-devel
 Obsoletes:     freetype2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                specflags_ia32  -fomit-frame-pointer 
+%define                specflags_ia32  -fomit-frame-pointer
 # see <freetype/internal/ftserv.h>, the real horror
 %define                specflags       -fno-strict-aliasing
 
@@ -191,12 +196,12 @@ CFLAGS="%{rpmcflags} \
        CFG="--prefix=%{_prefix} --libdir=%{_libdir}"
 
 %{__make} \
-       X11_LIB=
+       X11_LIB=%{?_x_libraries}
 
 %if %{with x11}
 %{__make} -C ft2demos-* \
-       TOP_DIR="`pwd`" \
-       X11_LIB=
+       TOP_DIR=$(pwd) \
+       X11_LIB=%{?_x_libraries}
 %endif
 
 %{__make} refdoc
This page took 0.167528 seconds and 4 git commands to generate.