summaryrefslogtreecommitdiff
path: root/databases/freetds/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-08-19 07:54:04 +0000
committeradam <adam@pkgsrc.org>2011-08-19 07:54:04 +0000
commit9342013e0f43d57de15b80151a056de87fbb722e (patch)
treee1f0a383b1207c7f8c872ca7110e101879f25e83 /databases/freetds/Makefile
parent00ad1ae6339ed3537608c6b8fcc5ce802823a50c (diff)
downloadpkgsrc-9342013e0f43d57de15b80151a056de87fbb722e.tar.gz
Changes 0.91:
* Full Kerberos and SSPI support for passwordless login to Microsoft SQL Server from Unix and Windows clients. Includes Kerberos delegation option. * Full support for DB-Library under Win32/64 via NMAKE.EXE. * Built-in support for UTF-8. * Support for wide characters in ODBC. * Support for varchar(max) and varbinary(max). * Better thread-safety in ODBC. * Distinguish between connect and login errors. * Bulk-copy functions in CT-Library.
Diffstat (limited to 'databases/freetds/Makefile')
-rw-r--r--databases/freetds/Makefile34
1 files changed, 9 insertions, 25 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 4a6ff07226b..fdb97f3ff68 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2011/04/22 14:40:41 obache Exp $
+# $NetBSD: Makefile,v 1.45 2011/08/19 07:54:04 adam Exp $
-DISTNAME= freetds-0.82
-PKGREVISION= 3
+DISTNAME= freetds-0.91
CATEGORIES= databases
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/
@@ -12,20 +11,16 @@ LICENSE= gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-.include "options.mk"
-
-USE_LIBTOOL= yes
USE_GNU_READLINE= yes # rl_on_new_line, rl_reset_line_state
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
-CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv:Q}
+CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-tdsver=7.0
-
# no thread-safe resolver functions on NetBSD
CONFIGURE_ARGS+= --disable-threadsafe
-DOCDIR= ${PREFIX}/share/doc/freetds
EGDIR= ${PREFIX}/share/examples/freetds
CONF_FILES+= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf
@@ -34,24 +29,13 @@ CONF_FILES+= ${EGDIR}/pool.conf ${PKG_SYSCONFDIR}/pool.conf
# doc/Makefile ignores TARGET_DOCDIR for the files listed in
# nobase_data_DATA. Make the Makefiles think the documentation is
# in doc/freetds through symlinks and by overriding DOCDIR.
-#
MAKE_FLAGS+= DOCDIR=doc/freetds
-INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} ETC=${DESTDIR}${EGDIR:Q}
+INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} ETC=${DESTDIR}${EGDIR}
pre-build:
- cd ${WRKSRC}/doc/doc && ln -s ${DISTNAME:Q} freetds
-
-# The FreeTDS documentation is generated by doxygen and the file names
-# change from release to release. Rather than having the PLIST change
-# radically between releases, just generate the documentation entries
-# dynamically for the PLIST.
-#
-GENERATE_PLIST+= \
- ${ECHO} "@comment The following lines are automatically generated." && \
- ( cd ${WRKSRC}/doc/doc/${DISTNAME} && \
- ${FIND} reference userguide \! -type d -print && \
- cd ${WRKSRC}/doc && ${FIND} images -name "*.gif" -print ) | \
- ${SED} -e "s,^,"${DOCDIR:S|${PREFIX}/||:Q}"/," | ${SORT};
+ cd ${WRKSRC}/doc/doc && ln -sf ${DISTNAME} freetds
+
+.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"