]> git.pld-linux.org Git - packages/tin.git/commitdiff
- removed with_system_pcre patch and pass -lpcre in LDFLAGS for link
authorkloczek <kloczek@pld-linux.org>
Thu, 26 Jul 2001 06:21:20 +0000 (06:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  with shared libpcre.

Changed files:
    tin.spec -> 1.69

tin.spec

index 72f01149f52aa0559439a40aea81e678d0a6a8e2..cc0426f132a559805416c8f1e39c4a9be11d9e05 100644 (file)
--- a/tin.spec
+++ b/tin.spec
@@ -14,9 +14,8 @@ Group(pl):    Aplikacje/News
 Source0:       ftp://ftp.tin.org/pub/news/clients/tin/unstable/snapshots/%{name}-%{version}.tar.bz2
 Source1:       %{name}.desktop
 Patch0:                %{name}-enable_coloring.patch
-#Patch1:               %{name}-with_system_pcre.patch
-Patch2:                %{name}-ncurses.patch
-Patch3:                %{name}-range.patch
+Patch1:                %{name}-ncurses.patch
+Patch2:                %{name}-range.patch
 URL:           http://www.tin.org/
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pcre-devel
@@ -60,20 +59,21 @@ okuyabilir.
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1
+%patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
+LDFLAGS="%{rpmldflags} -lpcre"
 %configure2_13 \
        --enable-nls \
        --enable-color \
+       --with-pcre \
        --with-ncurses \
        --with-nov-dir=%{_var}/spool/news \
        --with-spooldir=%{_var}/spool/news \
        --enable-locale \
        --with-gpg=%{_bindir}/gpg \
-       --with-mailer=%{_sbindir}/sendmail \
+       --with-mailer=%{_libdir}/sendmail \
        --enable-ipv6 \
        --disable-debug
 
This page took 0.194299 seconds and 4 git commands to generate.