diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-06-09 11:47:59 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-06-09 11:47:59 +0000 |
commit | 3abab89bf0a5371ad5c54b3a40e4f5fd9c28cb4d (patch) | |
tree | 6ce2603e96f7dc8065282e6d2b60fef97ab57880 /databases/freetds | |
parent | 4f413291cdd6484be846cf16a7b0d21a2d241a96 (diff) | |
download | ports-3abab89bf0a5371ad5c54b3a40e4f5fd9c28cb4d.tar.gz ports-3abab89bf0a5371ad5c54b3a40e4f5fd9c28cb4d.zip |
Notes
Diffstat (limited to 'databases/freetds')
-rw-r--r-- | databases/freetds/Makefile | 12 | ||||
-rw-r--r-- | databases/freetds/distinfo | 4 | ||||
-rw-r--r-- | databases/freetds/files/patch-doc_Makefile.am | 11 | ||||
-rw-r--r-- | databases/freetds/files/patch-include_freetds_tds.h | 14 | ||||
-rw-r--r-- | databases/freetds/files/patch-include_tdsodbc.h | 13 | ||||
-rw-r--r-- | databases/freetds/files/patch-src_tds_tls.c | 13 | ||||
-rw-r--r-- | databases/freetds/pkg-plist | 1 |
7 files changed, 33 insertions, 35 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile index df63d1736e08..766e5f8ffb33 100644 --- a/databases/freetds/Makefile +++ b/databases/freetds/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= freetds -PORTVERSION= 0.91.112.0.0 +PORTVERSION= 0.95.0 PORTEPOCH= 1 CATEGORIES= databases MASTER_SITES= ftp://ftp.freetds.org/pub/freetds/stable/ @@ -14,14 +14,13 @@ LICENSE= GPLv2 LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt -PORTSCOUT= skipv:0.92.48,0.92.49,0.92.51,0.92.52,0.92.53,0.92.54,0.92.55,0.92.59,0.92.63,0.92.79,0.92.405 TDS_VER?= 5.0 -USES= autoreconf iconv gmake pkgconfig libtool:keepla tar:bzip2 +USES= autoreconf iconv gmake libtool:keepla pkgconfig readline tar:bzip2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -LIBS+= -lgcrypt +LIBS+= -lgcrypt -lpthread CONFIGURE_ARGS= --with-tdsver=${TDS_VER} --sysconfdir=${ETCDIR} \ --enable-sybase-compat --enable-msdblib USE_LDCONFIG= yes @@ -70,10 +69,5 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc/doc/${PORTNAME}-${PORTVERSION} && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.mk> diff --git a/databases/freetds/distinfo b/databases/freetds/distinfo index 9eaf3e314e4e..22c8218dd414 100644 --- a/databases/freetds/distinfo +++ b/databases/freetds/distinfo @@ -1,2 +1,2 @@ -SHA256 (freetds-0.91.112.0.0.tar.bz2) = 31c3ae92676c325f88306b60c073a274d91b0ec391a5d24eb8cf0039b2b010fa -SIZE (freetds-0.91.112.0.0.tar.bz2) = 1803980 +SHA256 (freetds-0.95.0.tar.bz2) = ffcf6179545dea253d6bc3b081c220d4d1ff4f1d434d159baec17c820ad5cba3 +SIZE (freetds-0.95.0.tar.bz2) = 3208585 diff --git a/databases/freetds/files/patch-doc_Makefile.am b/databases/freetds/files/patch-doc_Makefile.am deleted file mode 100644 index 939d1c247c1b..000000000000 --- a/databases/freetds/files/patch-doc_Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/Makefile.am.orig 2015-01-29 00:40:17 UTC -+++ doc/Makefile.am -@@ -8,7 +8,7 @@ SHELL = /bin/sh - TXT2MAN = $(srcdir)/txt2man - DOCDIR = doc/freetds-$(VERSION) - PRODUCT = FreeTDS --TARGET_DOCDIR = $(DESTDIR)$(datadir)/$(DOCDIR) -+TARGET_DOCDIR = $(DESTDIR)$(datadir)/doc/freetds - - IMAGES = images/important.gif \ - images/note.gif \ diff --git a/databases/freetds/files/patch-include_freetds_tds.h b/databases/freetds/files/patch-include_freetds_tds.h new file mode 100644 index 000000000000..ed8856902328 --- /dev/null +++ b/databases/freetds/files/patch-include_freetds_tds.h @@ -0,0 +1,14 @@ +--- include/freetds/tds.h.orig 2015-06-09 10:34:04 UTC ++++ include/freetds/tds.h +@@ -144,7 +144,10 @@ typedef struct + TDS_INT date; /**< date, 0 = 1900-01-01 */ + TDS_SMALLINT offset; /**< time offset */ + TDS_USMALLINT time_prec:3; +- TDS_USMALLINT _res:10; ++#pragma push_macro("_res") ++#undef _res ++ TDS_USMALLINT _res:10; ++#pragma pop_macro("_res") + TDS_USMALLINT has_time:1; + TDS_USMALLINT has_date:1; + TDS_USMALLINT has_offset:1; diff --git a/databases/freetds/files/patch-include_tdsodbc.h b/databases/freetds/files/patch-include_tdsodbc.h deleted file mode 100644 index 6bf4bfffec14..000000000000 --- a/databases/freetds/files/patch-include_tdsodbc.h +++ /dev/null @@ -1,13 +0,0 @@ ---- include/tdsodbc.h.orig 2015-01-29 00:40:17 UTC -+++ include/tdsodbc.h -@@ -30,8 +30,8 @@ - #include <odbcinst.h> - #endif - #else /* IODBC */ --#include <isql.h> --#include <isqlext.h> -+#include <libiodbc/isql.h> -+#include <libiodbc/isqlext.h> - #ifdef HAVE_IODBCINST_H - #include <iodbcinst.h> - #endif /* HAVE_IODBCINST_H */ diff --git a/databases/freetds/files/patch-src_tds_tls.c b/databases/freetds/files/patch-src_tds_tls.c new file mode 100644 index 000000000000..ec71b8dd0a32 --- /dev/null +++ b/databases/freetds/files/patch-src_tds_tls.c @@ -0,0 +1,13 @@ +--- src/tds/tls.c.orig 2015-06-09 10:38:40 UTC ++++ src/tds/tls.c +@@ -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> diff --git a/databases/freetds/pkg-plist b/databases/freetds/pkg-plist index f3f08469d5d2..01d2c1b2f999 100644 --- a/databases/freetds/pkg-plist +++ b/databases/freetds/pkg-plist @@ -46,3 +46,4 @@ man/man5/freetds.conf.5.gz %%ODBC%%lib/libtdsodbc.so.0.0.0 %%ODBC%%lib/libtdsodbc.la %%ODBC%%lib/libtdsodbc.a +%%PORTDOCS%%@dir %%DOCSDIR%%/images/callouts |