aboutsummaryrefslogtreecommitdiffstats
path: root/databases/freetds
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2015-05-10 21:18:32 +0800
committerbofh <bofh@FreeBSD.org>2015-05-10 21:18:32 +0800
commit7016385172b283390ff242c31f3e830cc3565722 (patch)
treeb4b27003fb2f95cf28e02526175c22385edef426 /databases/freetds
parentefadb6a0fa440996edf36f59d82a9ab48328d03e (diff)
downloadfreebsd-ports-gnome-7016385172b283390ff242c31f3e830cc3565722.tar.gz
freebsd-ports-gnome-7016385172b283390ff242c31f3e830cc3565722.tar.zst
freebsd-ports-gnome-7016385172b283390ff242c31f3e830cc3565722.zip
databases/freetds: Update version 0.91.103=>0.91.112.0.0
- Migrate to USES framework from USE_AUTOTOOLS - Move OPTIONS OPENSSL and GNUTLS under OPTIONS_SINGLE
Diffstat (limited to 'databases/freetds')
-rw-r--r--databases/freetds/Makefile17
-rw-r--r--databases/freetds/distinfo4
-rw-r--r--databases/freetds/files/patch-doc_Makefile.am (renamed from databases/freetds/files/patch-doc_Makefile.in)10
3 files changed, 16 insertions, 15 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 37bb35045371..fa76d610ef88 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= freetds
-PORTVERSION= 0.91.103
-PORTREVISION= 2
+PORTVERSION= 0.91.112.0.0
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.freetds.org/pub/freetds/stable/
@@ -17,9 +16,8 @@ LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
TDS_VER?= 5.0
-USES= iconv gmake pkgconfig libtool:keepla
+USES= autoreconf iconv gmake pkgconfig libtool:keepla tar:bzip2
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf:env
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= -lgcrypt
@@ -30,7 +28,10 @@ INSTALL_TARGET= install-strip
PORTDOCS= *
-OPTIONS_DEFINE= OPENSSL GNUTLS DOCS
+OPTIONS_DEFINE= DOCS
+OPTIONS_SINGLE= SSL
+OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
+OPTIONS_DEFAULT= OPENSSL
OPTIONS_RADIO= ODBC
OPTIONS_RADIO_ODBC= IODBC UNIXODBC
OPENSSL_USE= OPENSSL=yes
@@ -57,7 +58,7 @@ post-extract:
@cd ${WRKSRC}/src/pool && ${LN} -s pool.conf pool.conf.sample
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>| ; \
s|/freetds.conf|/freetds.conf.sample|g ; \
s|/locales.conf|/locales.conf.sample|g ; \
@@ -67,10 +68,10 @@ post-patch:
s|$$ODBC_INC/isqlext.h|$$ODBC_INC/libiodbc/isqlext.h|g' ${WRKSRC}/configure
post-install:
- @${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample
+ ${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @(cd ${WRKSRC}/doc/doc/${PORTNAME}-${PORTVERSION} && \
+ (cd ${WRKSRC}/doc/doc/${PORTNAME}-${PORTVERSION} && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
diff --git a/databases/freetds/distinfo b/databases/freetds/distinfo
index de9c65669b41..9eaf3e314e4e 100644
--- a/databases/freetds/distinfo
+++ b/databases/freetds/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freetds-0.91.103.tar.gz) = 895cdce6d2af65f79db5e7034d1eba5dd3b63369a0c6b5fbc890e606c699556b
-SIZE (freetds-0.91.103.tar.gz) = 2061912
+SHA256 (freetds-0.91.112.0.0.tar.bz2) = 31c3ae92676c325f88306b60c073a274d91b0ec391a5d24eb8cf0039b2b010fa
+SIZE (freetds-0.91.112.0.0.tar.bz2) = 1803980
diff --git a/databases/freetds/files/patch-doc_Makefile.in b/databases/freetds/files/patch-doc_Makefile.am
index 427d9eb212e6..a504c77fb681 100644
--- a/databases/freetds/files/patch-doc_Makefile.in
+++ b/databases/freetds/files/patch-doc_Makefile.am
@@ -1,11 +1,11 @@
---- doc/Makefile.in.orig 2014-09-16 20:53:09.681073696 +0600
-+++ doc/Makefile.in 2014-09-16 20:53:24.383067403 +0600
-@@ -254,7 +254,7 @@
+--- doc/Makefile.am.orig 2015-05-10 18:47:04.571197742 +0600
++++ doc/Makefile.am 2015-05-10 18:47:22.212197672 +0600
+@@ -8,7 +8,7 @@
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 = images/important.gif \
images/note.gif \
- images/tip.gif \