aboutsummaryrefslogtreecommitdiff
path: root/databases/freetds/Makefile
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2003-11-07 08:26:27 +0000
committerAnders Nordby <anders@FreeBSD.org>2003-11-07 08:26:27 +0000
commite600bd8ea2ff25f1ba678ca7ac599ef6d8678f70 (patch)
tree2982874d6faa792e951a0542d5a1881a54101d8f /databases/freetds/Makefile
parentf088e4ab552fbcb15b227bda06342cc354401b57 (diff)
downloadports-e600bd8ea2ff25f1ba678ca7ac599ef6d8678f70.tar.gz
ports-e600bd8ea2ff25f1ba678ca7ac599ef6d8678f70.zip
Notes
Diffstat (limited to 'databases/freetds/Makefile')
-rw-r--r--databases/freetds/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 9f1bbbc3dc6d..1738b69d7945 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -5,24 +5,26 @@
# $FreeBSD$
PORTNAME= freetds
-PORTVERSION= 0.61
-PORTREVISION= 1
+PORTVERSION= 0.61.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/freetds/stable
-EXTRACT_SUFX= .tgz
MAINTAINER= kiesel@schlund.de
COMMENT= Sybase/Microsoft TDS protocol library
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+BUILD_DEPENDS= ${LOCALBASE}/bin/automake17:${PORTSDIR}/devel/automake17
USE_REINPLACE= yes
USE_GMAKE= yes
+GNU_GONFIGURE= yes
USE_LIBTOOL= yes
+NO_AUTOCONF= yes
+NO_AUTOMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --with-tdsver=4.2
+CONFIGURE_ARGS= --with-tdsver=5.0
INSTALLS_SHLIB= yes
MAN1= freebcp.1 tsql.1
@@ -56,6 +58,11 @@ post-patch:
s|/pool.conf|/pool.conf.dist|g ; \
s| common.h||g'
+post-configure:
+ @cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+ 's|automake-1..|automake17|g ; \
+ s|aclocal-1..|aclocal17|g' Makefile
+
post-install:
@${MKDIR} ${PREFIX}/etc/freetds
@${INSTALL_DATA} ${WRKSRC}/interfaces ${PREFIX}/etc/freetds/interfaces.dist