SPECS: telnet.spec - updated fixes patch, added tinfo patch to sim...

qboosh qboosh at pld-linux.org
Tue Oct 24 22:26:14 CEST 2006


Author: qboosh                       Date: Tue Oct 24 20:26:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated fixes patch, added tinfo patch to simplify linking with -ltinfo
- dropped obsolete OPT

---- Files affected:
SPECS:
   telnet.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: SPECS/telnet.spec
diff -u SPECS/telnet.spec:1.80 SPECS/telnet.spec:1.81
--- SPECS/telnet.spec:1.80	Sat Aug  5 15:41:00 2006
+++ SPECS/telnet.spec	Tue Oct 24 22:26:08 2006
@@ -24,6 +24,7 @@
 Patch3:		netkit-%{name}-issue.patch
 Patch4:		netkit-%{name}-cpp.patch
 Patch5:		netkit-%{name}-pld_man.patch
+Patch6:		netkit-%{name}-tinfo.patch
 BuildRequires:	libstdc++-devel
 BuildRequires:	ncurses-devel >= 5.0
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -124,20 +125,19 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 # don't use configure macro
-CFLAGS="%{rpmcflags} -DINET6"
-CXXFLAGS="%{rpmcflags} -DINET6"
-LDFLAGS="%{rpmldflags}"
-LIBS="-ltinfo"
-export CFLAGS CXXFLAGS LDFLAGS LIBS
+CFLAGS="%{rpmcflags} -DINET6" \
+CXXFLAGS="%{rpmcflags} -DINET6" \
+LDFLAGS="%{rpmldflags}" \
 ./configure \
 	--with-c-compiler="%{__cc}" \
 	--with-c++-compiler="%{__cxx}" \
 	--prefix=%{_prefix}
 
-%{__make} OPT="%{rpmcflags} -D__USE_UNIX98"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -201,6 +201,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2006/10/24 20:26:08  qboosh
+- updated fixes patch, added tinfo patch to simplify linking with -ltinfo
+- dropped obsolete OPT
+
 Revision 1.80  2006/08/05 13:41:00  sparky
 - LIBS="-ltinfo" (--as-needed fix)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/telnet.spec?r1=1.80&r2=1.81&f=u



More information about the pld-cvs-commit mailing list