pkgsrc/databases/freetds/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2004/10/03 00:13:18 tv Exp $
DISTNAME= freetds-0.61.2
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://www.freetds.org/
COMMENT= LGPL'd implementation of Sybase's db-lib/ct-lib/ODBC libs
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/freetds
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-tdsver=7.0
EGDIR= ${PREFIX}/share/examples/freetds
CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf
CONF_FILES+= ${EGDIR}/pool.conf ${PKG_SYSCONFDIR}/pool.conf
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/freetds/lib
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/locales.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/src/pool/pool.conf ${EGDIR}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"