summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-09-20 00:08:34 +0000
committergrant <grant@pkgsrc.org>2002-09-20 00:08:34 +0000
commitcf45c976732bfb6780d79d85f9a534545b486f01 (patch)
treea90296adc326d1585f0c83c33084921ac1cabf14 /databases
parent7791e1705546fbf8cc4a1d0f886d8a337c2a0d3e (diff)
downloadpkgsrc-cf45c976732bfb6780d79d85f9a534545b486f01.tar.gz
- add dependancy on converters/libiconv
- convert to buildlink2 - bump PKGREVISION as discussed with jlam.
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 09f959764f9..e6c7824eaf6 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2002/08/25 19:22:05 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2002/09/20 00:08:34 grant Exp $
DISTNAME= freetds-0.53
CATEGORIES= databases
+PKGREVISION= 1
MASTER_SITES= ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/
EXTRACT_SUFX= .tgz
@@ -9,12 +10,13 @@ MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.freetds.org/
COMMENT= LGPL'd implementation of Sybase's db-lib/ct-lib/ODBC libs
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
USE_GMAKE= yes
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
USE_LIBTOOL= yes
@@ -27,5 +29,6 @@ post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR}
+.include "../../converters/libiconv/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"