]> git.pld-linux.org Git - packages/pango.git/commitdiff
- workaround just as in glib2.spec... rel2
authorMariusz Mazur <mmazur@pld-linux.org>
Mon, 18 Nov 2002 16:57:26 +0000 (16:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pango.spec -> 1.69

pango.spec

index 1cedc103170bbfe573ee17dbb0cd2e4a36afacfd..ad9fcae7b56eb95eba9e973ff3f254011fb02c22 100644 (file)
@@ -1,12 +1,9 @@
-# WARNING: you need to have linkable -lpango-1.0 in /usr/X11R6/lib in 
-#          order to build this... fix it... I dare you
-
 Summary:       System for layout and rendering of internationalized text
 Summary(pl):   System renderowania miêdzynarodowego tekstu
 Summary(pt_BR):        Sistema para layout e renderização de texto internacionalizado
 Name:          pango
 Version:       1.1.3
-Release:       1
+Release:       2
 License:       LGPL
 Group:         X11/Libraries
 Source0:       ftp://ftp.gtk.org/pub/gtk/v2.1/%{name}-%{version}.tar.bz2
@@ -124,6 +121,9 @@ rm -f missing acinclude.m4
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+
+# Workaround as in glib2.spec
+LDFLAGS="%{rpmldflags} -L%{buildroot}%{_libdir}"
 %configure \
        --with-fribidi \
        --enable-gtk-doc \
@@ -142,6 +142,11 @@ perl -p -i -e 's|-I/usr/include | |g' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
 
 > $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules
 
+for i in %{buildroot}%{_libdir}/*.la; do
+       cat $i|sed -e "s,-L%{buildroot}%{_libdir},,">$i.tmp;
+       mv $i.tmp $i;
+done;
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.148228 seconds and 4 git commands to generate.