ports/57397: Update database/freetds to 0.61.2; fix distfile

Alex Kiesel kiesel at schlund.de
Tue Sep 30 09:10:23 UTC 2003


>Number:         57397
>Category:       ports
>Synopsis:       Update database/freetds to 0.61.2; fix distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 02:10:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kiesel
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD alex.i.schlund.de 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Apr 11 16:29:20 CEST 2003 root at alex.i.schlund.de:/usr/obj/usr/src/sys/KNORKE i386


	
>Description:
    This patch updates database/freetds to the latest stable version which is
    neccessary because the old distfile has changed so the port was not 
    buildable any more.
	
>How-To-Repeat:
    make fetch in old port.
	
>Fix:
    Apply the patch and add the 'patch-aclocal-m4' file.

	

--- freetds.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/freetds/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	21 Apr 2003 16:07:04 -0000	1.29
+++ Makefile	30 Sep 2003 09:00:55 -0000
@@ -5,24 +5,26 @@
 # $FreeBSD$
 
 PORTNAME=	freetds
-PORTVERSION=	0.61
-PORTREVISION=	1
+PORTVERSION=	0.61.2
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	ALPHA/freetds/stable
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	kiesel at schlund.de
 COMMENT=	Sybase/Microsoft TDS protocol library
 
 LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
+BUILD_DEPENDS=	${LOCALBASE}/bin/automake17:${PORTSDIR}/devel/automake17
 
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
+GNU_GONFIGURE=	yes
 USE_LIBTOOL=	yes
+NO_AUTOCONF=	yes
+NO_AUTOMAKE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--with-tdsver=4.2
+CONFIGURE_ARGS=	--with-tdsver=5.0
 INSTALLS_SHLIB=	yes
 
 MAN1=		freebcp.1 tsql.1
@@ -55,6 +57,11 @@
 		 s|/locales.conf|/locales.conf.dist|g ; \
 		 s|/pool.conf|/pool.conf.dist|g ; \
 		 s| common.h||g'
+
+post-configure:
+	@cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|automake-1..|automake17|g ; \
+		 s|aclocal-1..|aclocal17|g' Makefile
 
 post-install:
 	@${MKDIR} ${PREFIX}/etc/freetds
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/freetds/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	11 Apr 2003 15:51:25 -0000	1.7
+++ distinfo	30 Sep 2003 09:00:55 -0000
@@ -1 +1 @@
-MD5 (freetds-0.61.tgz) = 15cc9829beb534606deb3020b3118eb9
+MD5 (freetds-0.61.2.tar.gz) = 95e91d26ddfdeed255771f3fa2c28129
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/databases/freetds/pkg-plist,v
retrieving revision 1.12
diff -u -r1.12 pkg-plist
--- pkg-plist	21 Apr 2003 16:07:04 -0000	1.12
+++ pkg-plist	30 Sep 2003 09:00:55 -0000
@@ -21,6 +21,8 @@
 include/tdsconvert.h
 include/tdssrv.h
 include/tdsver.h
+share/nls/POSIX
+share/nls/en_US.US-ASCII
 lib/libct.a
 lib/libct.so
 lib/libct.so.1
--- freetds.diff ends here ---

--- patch-aclocal-m4 begins here ---
--- aclocal.m4.orig	Wed Aug  6 07:55:55 2003
+++ aclocal.m4	Wed Aug  6 07:56:00 2003
@@ -441,7 +441,7 @@
 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 
 
-AC_PREREQ([2.54])
+AC_PREREQ([2.53])
 
 # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
 # the ones we care about.
--- patch-aclocal-m4 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list