View | Details | Raw Unified | Return to bug 172463
Collapse All | Expand All

(-)/usr/home/pi/myp/databases/freetds-devel/Makefile (-21 / +25 lines)
Lines 1-7 Link Here
1
# New ports collection makefile for:   freetds-devel
2
# Date created:		02 Nov 1999
3
# Whom:			Domas Mituzas <midom@dammit.lt>
4
#
5
# $FreeBSD: ports/databases/freetds-devel/Makefile,v 1.72 2012/04/15 11:58:27 scheidell Exp $
1
# $FreeBSD: ports/databases/freetds-devel/Makefile,v 1.72 2012/04/15 11:58:27 scheidell Exp $
6
2
7
PORTNAME=	freetds
3
PORTNAME=	freetds
Lines 9-16 Link Here
9
PORTREVISION=	2
5
PORTREVISION=	2
10
PORTEPOCH=	1
6
PORTEPOCH=	1
11
CATEGORIES=	databases
7
CATEGORIES=	databases
12
MASTER_SITES=	${MASTER_SITE_SUNSITE}
8
MASTER_SITES=	ftp://ftp.freetds.org/pub/freetds/stable/
13
MASTER_SITE_SUBDIR=	ALPHA/${PORTNAME}/stable
9
DISTNAME=	freetds-stable
10
EXTRACT_SUFX=	.tgz
14
PKGNAMESUFFIX=	-devel
11
PKGNAMESUFFIX=	-devel
15
12
16
MAINTAINER=	fbsd-ports@opsec.eu
13
MAINTAINER=	fbsd-ports@opsec.eu
Lines 33-73 Link Here
33
		defncopy.1 fisql.1 osql.1
30
		defncopy.1 fisql.1 osql.1
34
MAN5=		freetds.conf.5
31
MAN5=		freetds.conf.5
35
32
36
OPTIONS=	OPENSSL "Use openssl" off       \
33
.include <bsd.port.options.mk>
37
		GNUTLS "Use GNUTLS" off \
34
38
		IODBC   "Use iodbc (Mutually Exclusive)" off    \
35
# OPTIONS_DEFINE=	OPENSSL GNUTLS IODBC UNIXODBC MSDBLIB
39
		UNIXODBC "Use unixodbc (Mutually Exclusive)" off        \
36
OPTIONS_DEFINE=	MSDBLIB
40
		MSDBLIB "MS SQL Server support (breaks databases/sybtcl)" off
37
38
OPTIONS_SINGLE=	ODBC SSL
39
OPTIONS_SINGLE_ODBC=	IODBC UNIXODBC
40
OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS
41
42
OPTIONS_DEFAULT=	OPENSSL IODBC
43
44
OPENSSL_DESC=	Use OpenSSL
45
GNUTLS_DESC=	Use GnuTLS
46
IODBC_DESC=	Depend on iodbc
47
UNIXODBC_DESC=	Depend on unixodbc
48
MSDBLIB_DESC=	MS SQL Server compatibility (breaks databases/sybtcl)
41
49
42
CONFLICTS=	freetds-0.64.[0-9]
50
CONFLICTS=	freetds-0.64.[0-9]
43
51
44
.include <bsd.port.options.mk>
52
.include <bsd.port.options.mk>
45
53
46
.if defined(WITH_OPENSSL)
54
.if ${PORT_OPTIONS:MOPENSSL}
47
USE_OPENSSL=	yes
55
USE_OPENSSL=	yes
48
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
56
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
49
.endif
57
.endif
50
58
51
.if defined(WITH_GNUTLS)
59
.if ${PORT_OPTIONS:MGNUTLS}
52
LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
60
LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
53
CONFIGURE_ARGS+=	--with-gnutls
61
CONFIGURE_ARGS+=	--with-gnutls
54
.endif
62
.endif
55
63
56
.if defined(WITH_IODBC)
64
.if ${PORT_OPTIONS:MIODBC}
57
LIB_DEPENDS+=	iodbc:${PORTSDIR}/databases/libiodbc
65
LIB_DEPENDS+=	iodbc:${PORTSDIR}/databases/libiodbc
58
CONFIGURE_ARGS+=	--with-iodbc=${LOCALBASE}
66
CONFIGURE_ARGS+=	--with-iodbc=${LOCALBASE}
59
.endif
67
.endif
60
68
61
.if defined(WITH_UNIXODBC)
69
.if ${PORT_OPTIONS:MUNIXODBC}
62
LIB_DEPENDS+=	odbc:${PORTSDIR}/databases/unixODBC
70
LIB_DEPENDS+=	odbc:${PORTSDIR}/databases/unixODBC
63
CONFIGURE_ARGS+=	--with-unixodbc=${LOCALBASE}
71
CONFIGURE_ARGS+=	--with-unixodbc=${LOCALBASE}
64
.endif
72
.endif
65
73
66
.if defined(WITH_IODBC) && defined(WITH_UNIXODBC)
74
.if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MUNIXODBC}
67
IGNORE=	selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
68
.endif
69
70
.if defined(WITH_IODBC) || defined(WITH_UNIXODBC)
71
PLIST_SUB+=	ODBC=""
75
PLIST_SUB+=	ODBC=""
72
.else
76
.else
73
PLIST_SUB+=	ODBC="@comment "
77
PLIST_SUB+=	ODBC="@comment "
Lines 75-81 Link Here
75
79
76
# We cannot use msdblib-style by default, because port databases/sybtcl
80
# We cannot use msdblib-style by default, because port databases/sybtcl
77
# relies on sybase-style dblib
81
# relies on sybase-style dblib
78
.if defined(WITH_MSDBLIB)
82
.if ${PORT_OPTIONS:MMSDBLIB}
79
CONFIGURE_ARGS+=	--enable-msdblib
83
CONFIGURE_ARGS+=	--enable-msdblib
80
TDS_VER=	7.2
84
TDS_VER=	7.2
81
.endif
85
.endif
(-)/usr/home/pi/myp/databases/freetds-devel/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (freetds-0.91.tar.gz) = 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465
1
SHA256 (freetds-stable.tgz) = 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465
2
SIZE (freetds-0.91.tar.gz) = 2136329
2
SIZE (freetds-stable.tgz) = 2136329

Return to bug 172463