]> git.pld-linux.org Git - packages/ekg2.git/commitdiff
- added nolibs patch to kill unwanted -lbind -lnsl
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Oct 2004 09:47:05 +0000 (09:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use system libltdl

Changed files:
    ekg2.spec -> 1.30

ekg2.spec

index 77c2bf7166728d8807f61194b88be80ce7e73499..11135c271505ecdd89ca6601e7c4c13cbcdd30ed 100644 (file)
--- a/ekg2.spec
+++ b/ekg2.spec
@@ -22,8 +22,10 @@ License:     GPL v2+
 Group:         Applications/Communications
 Source0:       http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
 # Source0-md5: 9da7ba07b95652da03149800509a0c27
+Patch0:                %{name}-nolibs.patch
 URL:           http://www.ekg2.org/
 %{?with_aspell:BuildRequires:  aspell-devel}
+BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: expat-devel
 BuildRequires: gettext-devel
@@ -32,11 +34,10 @@ BuildRequires:      gpm-devel
 BuildRequires: libgadu-devel
 BuildRequires: libgsm-devel
 BuildRequires: libjpeg-devel
-# shouldn't be needed (regenerate ac?)
-BuildRequires: libstdc++-devel
+BuildRequires: libltdl-devel
+BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: libltdl-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,10 +55,22 @@ Gadu-Gadu jak i Jabbera. Planowana tak
 
 %prep
 %setup -q -n %{name}-%{_snap}
+%patch0 -p1
+
+%{__perl} -pi -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac
 
 %build
-cp -f /usr/share/automake/config.sub .
-cp -f /usr/share/automake/config.sub libltdl/
+%{__libtoolize} --ltdl
+cd libltdl
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --with%{!?with_aspell:out}-aspell
 %{__make}
This page took 0.079109 seconds and 4 git commands to generate.