1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

databases/freetds: Fix build with libiodbc, reset maintainer

The maintainer (cowbert) hasn't been seen since 2009 and several PRs
timed out in the span of months.  Reset freetds and it's slave port.

Moveover, it's ancient.  All the MASTER_SITES are gone.  I had to
switch this over to Fedora repo so that it had public distfiles again.

The actual PR fixes the build when libiodbc is selected.
There is a freetds-devel port that's much newer.  I recommend that it
move these location and they disappear.

PR:		192224
Submitted by:	Denys Razumov
Approved by:	maintainer timeout (of course)
This commit is contained in:
John Marino 2014-08-17 20:46:37 +00:00
parent ce89127211
commit e388035f7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365246
3 changed files with 17 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PKGNAMESUFFIX= -msdblib
MAINTAINER= cowbert@gmail.com
MAINTAINER= ports@FreeBSD.org
WITH_MSDBLIB= yes

View File

@ -6,10 +6,9 @@ PORTVERSION= 0.64
PORTREVISION= 11
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/${PORTNAME}/stable
MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/${FEDORALOC}/
MAINTAINER?= cowbert@gmail.com
MAINTAINER?= ports@FreeBSD.org
COMMENT= Sybase/Microsoft TDS protocol library
TDS_VER?= 5.0
@ -22,6 +21,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-tdsver=${TDS_VER}
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
FEDORALOC= freetds/freetds-0.64.tar.gz/ecfee5d6c96932172a1f29fb215c9d23
PORTDOCS= *

View File

@ -0,0 +1,13 @@
--- include/tdsodbc.h.orig 2006-02-24 21:14:21.000000000 +0000
+++ include/tdsodbc.h
@@ -31,8 +31,8 @@
#include <sql.h>
#include <sqlext.h>
#else /* IODBC */
-#include <isql.h>
-#include <isqlext.h>
+#include <libiodbc/isql.h>
+#include <libiodbc/isqlext.h>
#ifdef HAVE_IODBCINST_H
#include <iodbcinst.h>
#endif /* HAVE_IODBCINST_H */