]> git.pld-linux.org Git - packages/freetds.git/commitdiff
- added nolibnsl patch, fixed ac/am/lt
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Mar 2003 19:44:43 +0000 (19:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    freetds-nolibnsl.patch -> 1.1
    freetds.spec -> 1.6

freetds-nolibnsl.patch [new file with mode: 0644]
freetds.spec

diff --git a/freetds-nolibnsl.patch b/freetds-nolibnsl.patch
new file mode 100644 (file)
index 0000000..b6e992b
--- /dev/null
@@ -0,0 +1,13 @@
+--- freetds-0.60/configure.in.orig     Tue Sep 10 20:58:13 2002
++++ freetds-0.60/configure.in  Sun Mar  2 19:00:13 2003
+@@ -25,8 +25,8 @@
+ dnl ------------------------------------------------------------
+ dnl Checks for libraries.
+ dnl ------------------------------------------------------------
+-AC_CHECK_LIB(socket, socket, NETWORK_LIBS="$NETWORK_LIBS -lsocket")
+-AC_CHECK_LIB(nsl, gethostbyname, NETWORK_LIBS="$NETWORK_LIBS -lnsl")
++AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket, socket, NETWORK_LIBS="$NETWORK_LIBS -lsocket")])
++AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl, gethostbyname, NETWORK_LIBS="$NETWORK_LIBS -lnsl")])
+ AC_SUBST(NETWORK_LIBS)
+ dnl ------------------------------------------------------------
index 0344e763ceaa427fb6b53a14739bd119589e24f6..1ee7a1b2b5b2e97703da302bf3f8432c550dbfd9 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Conditional build:
 # _with_msdblib - use MS-style dblib
 #
@@ -14,13 +15,16 @@ Summary:    Free implementation of Sybase's db-lib
 Summary(pl):   Wolnodostêpna implementacja db-lib firmy Sybase
 Name:          freetds
 Version:       0.60
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/%{name}-%{version}.tgz
+Patch0:                %{name}-nolibnsl.patch
 URL:           http://www.freetds.org/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: glib-devel
+BuildRequires: libtool
 BuildRequires: unixODBC-devel
 Requires(post):        /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,9 +72,13 @@ Statyczne biblioteki FreeTDS.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
+%{__automake}
 %configure \
        --with-tdsver=%{tdsver} \
        %{?_with_msdblib:--with-msdblib} \
This page took 0.042554 seconds and 4 git commands to generate.