Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2015 12:08:04 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385939 - in head/databases/freetds-devel: . files
Message-ID:  <201505101208.t4AC846l090653@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Sun May 10 12:08:03 2015
New Revision: 385939
URL: https://svnweb.freebsd.org/changeset/ports/385939

Log:
  databases/freetds-devel: Update version 0.92.1003=>0.96.3
  
  - Migrate to new USES framework instead of USE_AUTOTOOLS

Added:
  head/databases/freetds-devel/files/patch-src_tds_tls.c   (contents, props changed)
Modified:
  head/databases/freetds-devel/Makefile
  head/databases/freetds-devel/distinfo

Modified: head/databases/freetds-devel/Makefile
==============================================================================
--- head/databases/freetds-devel/Makefile	Sun May 10 11:52:03 2015	(r385938)
+++ head/databases/freetds-devel/Makefile	Sun May 10 12:08:03 2015	(r385939)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	freetds
-PORTVERSION=	0.92.1003
+PORTVERSION=	0.96.3
 PORTEPOCH=	1
 CATEGORIES=	databases
 MASTER_SITES=	ftp://ftp.freetds.org/pub/freetds/current/
@@ -16,9 +16,8 @@ LICENSE=	LGPL20
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-dev.${PORTVERSION}
 TDS_VER?=	7.2
-USES=		gmake iconv libtool:keepla pkgconfig tar:bzip2
+USES=		autoreconf gmake iconv libtool:keepla pkgconfig tar:bzip2
 GNU_GONFIGURE=	yes
-USE_AUTOTOOLS=	autoconf:env
 CPPFLAGS+=	"-I${LOCALBASE}/include"
 LDFLAGS+=	-L${LOCALBASE}/lib
 GNU_CONFIGURE=	yes
@@ -66,13 +65,13 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|g' \
 		${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|/pool.conf|/pool.conf.sample|g ; \
 		 s| common.h||g ; \
 		 s|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g ; \
 		 s|%%ICONV_LIB%%|${ICONV_LIB}|'
 	@${REINPLACE_CMD} -e 's|/freetds.conf|/freetds.conf.sample|g ; \
-		 s|/locales.conf|/locales.conf.sample|g' ${WRKSRC}/Makefile.in
+		 s|/locales.conf|/locales.conf.sample|g' ${WRKSRC}/Makefile.am
 	@${REINPLACE_CMD} -e 's|$$ODBC_INC/isql.h|$$ODBC_INC/libiodbc/isql.h|g ; \
 		s|$$ODBC_INC/isqlext.h|$$ODBC_INC/libiodbc/isqlext.h|g' ${WRKSRC}/configure
 
@@ -81,13 +80,12 @@ post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/userguide
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/reference
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/images
 	@${FIND} ${WRKSRC}/doc/userguide \( -type f -o -type l \) \
 		-exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/userguide ';'
 	@${FIND} ${WRKSRC}/doc/reference \( -type f -o -type l \) \
 		-exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/reference ';'
-	@${FIND} ${WRKSRC}/doc/images -name \*.gif \
-		-exec  ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/images/ ';'
+	@cd ${WRKSRC}/doc && \
+		${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}
 
 .endif
 

Modified: head/databases/freetds-devel/distinfo
==============================================================================
--- head/databases/freetds-devel/distinfo	Sun May 10 11:52:03 2015	(r385938)
+++ head/databases/freetds-devel/distinfo	Sun May 10 12:08:03 2015	(r385939)
@@ -1,2 +1,2 @@
-SHA256 (freetds-dev.0.92.1003.tar.bz2) = edc6c8b0991380ac93abd77d8752885124755ea1b356a94b73ff4347a24ee791
-SIZE (freetds-dev.0.92.1003.tar.bz2) = 3175651
+SHA256 (freetds-dev.0.96.3.tar.bz2) = 742ab1cce0792f19a95cc6df32ee735f019eecb42e10985cd36f3af9049ec1a4
+SIZE (freetds-dev.0.96.3.tar.bz2) = 3188218

Added: head/databases/freetds-devel/files/patch-src_tds_tls.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/freetds-devel/files/patch-src_tds_tls.c	Sun May 10 12:08:03 2015	(r385939)
@@ -0,0 +1,13 @@
+--- src/tds/tls.c.orig	2015-05-10 16:53:53.649667739 +0600
++++ src/tds/tls.c	2015-05-10 17:04:29.479624026 +0600
+@@ -46,6 +46,10 @@
+ #include <sys/stat.h>
+ #endif /* HAVE_SYS_STAT_H */
+ 
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#include <sys/socket.h>
++#endif
++
+ #include <freetds/tds.h>
+ #include <freetds/string.h>
+ #include <freetds/tls.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505101208.t4AC846l090653>