head	1.25;
access;
symbols
	pkgsrc-2026Q1:1.25.0.20
	pkgsrc-2026Q1-base:1.25
	pkgsrc-2025Q4:1.25.0.18
	pkgsrc-2025Q4-base:1.25
	pkgsrc-2025Q3:1.25.0.16
	pkgsrc-2025Q3-base:1.25
	pkgsrc-2025Q2:1.25.0.14
	pkgsrc-2025Q2-base:1.25
	pkgsrc-2025Q1:1.25.0.12
	pkgsrc-2025Q1-base:1.25
	pkgsrc-2024Q4:1.25.0.10
	pkgsrc-2024Q4-base:1.25
	pkgsrc-2024Q3:1.25.0.8
	pkgsrc-2024Q3-base:1.25
	pkgsrc-2024Q2:1.25.0.6
	pkgsrc-2024Q2-base:1.25
	pkgsrc-2024Q1:1.25.0.4
	pkgsrc-2024Q1-base:1.25
	pkgsrc-2023Q4:1.25.0.2
	pkgsrc-2023Q4-base:1.25
	pkgsrc-2023Q3:1.24.0.30
	pkgsrc-2023Q3-base:1.24
	pkgsrc-2023Q2:1.24.0.28
	pkgsrc-2023Q2-base:1.24
	pkgsrc-2023Q1:1.24.0.26
	pkgsrc-2023Q1-base:1.24
	pkgsrc-2022Q4:1.24.0.24
	pkgsrc-2022Q4-base:1.24
	pkgsrc-2022Q3:1.24.0.22
	pkgsrc-2022Q3-base:1.24
	pkgsrc-2022Q2:1.24.0.20
	pkgsrc-2022Q2-base:1.24
	pkgsrc-2022Q1:1.24.0.18
	pkgsrc-2022Q1-base:1.24
	pkgsrc-2021Q4:1.24.0.16
	pkgsrc-2021Q4-base:1.24
	pkgsrc-2021Q3:1.24.0.14
	pkgsrc-2021Q3-base:1.24
	pkgsrc-2021Q2:1.24.0.12
	pkgsrc-2021Q2-base:1.24
	pkgsrc-2021Q1:1.24.0.10
	pkgsrc-2021Q1-base:1.24
	pkgsrc-2020Q4:1.24.0.8
	pkgsrc-2020Q4-base:1.24
	pkgsrc-2020Q3:1.24.0.6
	pkgsrc-2020Q3-base:1.24
	pkgsrc-2020Q2:1.24.0.4
	pkgsrc-2020Q2-base:1.24
	pkgsrc-2020Q1:1.24.0.2
	pkgsrc-2020Q1-base:1.24
	pkgsrc-2019Q4:1.23.0.30
	pkgsrc-2019Q4-base:1.23
	pkgsrc-2019Q3:1.23.0.26
	pkgsrc-2019Q3-base:1.23
	pkgsrc-2019Q2:1.23.0.24
	pkgsrc-2019Q2-base:1.23
	pkgsrc-2019Q1:1.23.0.22
	pkgsrc-2019Q1-base:1.23
	pkgsrc-2018Q4:1.23.0.20
	pkgsrc-2018Q4-base:1.23
	pkgsrc-2018Q3:1.23.0.18
	pkgsrc-2018Q3-base:1.23
	pkgsrc-2018Q2:1.23.0.16
	pkgsrc-2018Q2-base:1.23
	pkgsrc-2018Q1:1.23.0.14
	pkgsrc-2018Q1-base:1.23
	pkgsrc-2017Q4:1.23.0.12
	pkgsrc-2017Q4-base:1.23
	pkgsrc-2017Q3:1.23.0.10
	pkgsrc-2017Q3-base:1.23
	pkgsrc-2017Q2:1.23.0.6
	pkgsrc-2017Q2-base:1.23
	pkgsrc-2017Q1:1.23.0.4
	pkgsrc-2017Q1-base:1.23
	pkgsrc-2016Q4:1.23.0.2
	pkgsrc-2016Q4-base:1.23
	pkgsrc-2016Q3:1.22.0.6
	pkgsrc-2016Q3-base:1.22
	pkgsrc-2016Q2:1.22.0.4
	pkgsrc-2016Q2-base:1.22
	pkgsrc-2016Q1:1.22.0.2
	pkgsrc-2016Q1-base:1.22
	pkgsrc-2015Q4:1.21.0.16
	pkgsrc-2015Q4-base:1.21
	pkgsrc-2015Q3:1.21.0.14
	pkgsrc-2015Q3-base:1.21
	pkgsrc-2015Q2:1.21.0.12
	pkgsrc-2015Q2-base:1.21
	pkgsrc-2015Q1:1.21.0.10
	pkgsrc-2015Q1-base:1.21
	pkgsrc-2014Q4:1.21.0.8
	pkgsrc-2014Q4-base:1.21
	pkgsrc-2014Q3:1.21.0.6
	pkgsrc-2014Q3-base:1.21
	pkgsrc-2014Q2:1.21.0.4
	pkgsrc-2014Q2-base:1.21
	pkgsrc-2014Q1:1.21.0.2
	pkgsrc-2014Q1-base:1.21
	pkgsrc-2013Q4:1.20.0.8
	pkgsrc-2013Q4-base:1.20
	pkgsrc-2013Q3:1.20.0.6
	pkgsrc-2013Q3-base:1.20
	pkgsrc-2013Q2:1.20.0.4
	pkgsrc-2013Q2-base:1.20
	pkgsrc-2013Q1:1.20.0.2
	pkgsrc-2013Q1-base:1.20
	pkgsrc-2012Q4:1.19.0.2
	pkgsrc-2012Q4-base:1.19
	pkgsrc-2012Q3:1.18.0.2
	pkgsrc-2012Q3-base:1.18
	pkgsrc-2012Q2:1.17.0.4
	pkgsrc-2012Q2-base:1.17
	pkgsrc-2012Q1:1.17.0.2
	pkgsrc-2012Q1-base:1.17
	pkgsrc-2011Q4:1.16.0.10
	pkgsrc-2011Q4-base:1.16
	pkgsrc-2011Q3:1.16.0.8
	pkgsrc-2011Q3-base:1.16
	pkgsrc-2011Q2:1.16.0.6
	pkgsrc-2011Q2-base:1.16
	pkgsrc-2011Q1:1.16.0.4
	pkgsrc-2011Q1-base:1.16
	pkgsrc-2010Q4:1.16.0.2
	pkgsrc-2010Q4-base:1.16
	pkgsrc-2010Q3:1.15.0.6
	pkgsrc-2010Q3-base:1.15
	pkgsrc-2010Q2:1.15.0.4
	pkgsrc-2010Q2-base:1.15
	pkgsrc-2010Q1:1.15.0.2
	pkgsrc-2010Q1-base:1.15
	pkgsrc-2009Q4:1.14.0.18
	pkgsrc-2009Q4-base:1.14
	pkgsrc-2009Q3:1.14.0.16
	pkgsrc-2009Q3-base:1.14
	pkgsrc-2009Q2:1.14.0.14
	pkgsrc-2009Q2-base:1.14
	pkgsrc-2009Q1:1.14.0.12
	pkgsrc-2009Q1-base:1.14
	pkgsrc-2008Q4:1.14.0.10
	pkgsrc-2008Q4-base:1.14
	pkgsrc-2008Q3:1.14.0.8
	pkgsrc-2008Q3-base:1.14
	cube-native-xorg:1.14.0.6
	cube-native-xorg-base:1.14
	pkgsrc-2008Q2:1.14.0.4
	pkgsrc-2008Q2-base:1.14
	cwrapper:1.14.0.2
	pkgsrc-2008Q1:1.13.0.2
	pkgsrc-2008Q1-base:1.13
	pkgsrc-2007Q4:1.12.0.8
	pkgsrc-2007Q4-base:1.12
	pkgsrc-2007Q3:1.12.0.6
	pkgsrc-2007Q3-base:1.12
	pkgsrc-2007Q2:1.12.0.4
	pkgsrc-2007Q2-base:1.12
	pkgsrc-2007Q1:1.12.0.2
	pkgsrc-2007Q1-base:1.12
	pkgsrc-2006Q4:1.11.0.8
	pkgsrc-2006Q4-base:1.11
	pkgsrc-2006Q3:1.11.0.6
	pkgsrc-2006Q3-base:1.11
	pkgsrc-2006Q2:1.11.0.4
	pkgsrc-2006Q2-base:1.11
	pkgsrc-2006Q1:1.11.0.2
	pkgsrc-2006Q1-base:1.11
	pkgsrc-2005Q4:1.9.0.2
	pkgsrc-2005Q4-base:1.9
	pkgsrc-2005Q3:1.8.0.18
	pkgsrc-2005Q3-base:1.8
	pkgsrc-2005Q2:1.8.0.16
	pkgsrc-2005Q2-base:1.8
	pkgsrc-2005Q1:1.8.0.14
	pkgsrc-2005Q1-base:1.8
	pkgsrc-2004Q4:1.8.0.12
	pkgsrc-2004Q4-base:1.8
	pkgsrc-2004Q3:1.8.0.10
	pkgsrc-2004Q3-base:1.8
	pkgsrc-2004Q2:1.8.0.8
	pkgsrc-2004Q2-base:1.8
	pkgsrc-2004Q1:1.8.0.6
	pkgsrc-2004Q1-base:1.8
	pkgsrc-2003Q4:1.8.0.4
	pkgsrc-2003Q4-base:1.8
	netbsd-1-6-1:1.8.0.2
	netbsd-1-6-1-base:1.8
	netbsd-1-6:1.7.0.8
	netbsd-1-6-RELEASE-base:1.7
	pkgviews:1.7.0.4
	pkgviews-base:1.7
	buildlink2:1.7.0.2
	buildlink2-base:1.7
	netbsd-1-5-PATCH003:1.7
	netbsd-1-5-PATCH001:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.25
date	2023.10.24.22.08.30;	author wiz;	state Exp;
branches;
next	1.24;
commitid	MTsrqKm6aGrQAVJE;

1.24
date	2020.01.18.21.48.57;	author jperkin;	state Exp;
branches;
next	1.23;
commitid	JW4hJgY8ZdoTFdTB;

1.23
date	2016.10.09.21.41.56;	author wiz;	state Exp;
branches;
next	1.22;
commitid	i0AJjxRbfKiS5wpz;

1.22
date	2016.03.05.11.28.12;	author jperkin;	state Exp;
branches;
next	1.21;
commitid	1LoxeQftu903HrXy;

1.21
date	2014.02.12.23.17.39;	author tron;	state Exp;
branches;
next	1.20;
commitid	dfJj7CwMMWJzNRox;

1.20
date	2013.02.06.23.21.53;	author jperkin;	state Exp;
branches;
next	1.19;

1.19
date	2012.10.02.21.25.23;	author asau;	state Exp;
branches;
next	1.18;

1.18
date	2012.08.05.10.02.10;	author obache;	state Exp;
branches;
next	1.17;

1.17
date	2012.03.11.10.32.35;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2010.12.25.08.37.31;	author adam;	state Exp;
branches;
next	1.15;

1.15
date	2010.01.17.12.02.09;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2008.06.20.01.09.10;	author joerg;	state Exp;
branches;
next	1.13;

1.13
date	2008.01.18.05.06.28;	author tnn;	state Exp;
branches;
next	1.12;

1.12
date	2007.02.15.15.45.07;	author rillig;	state Exp;
branches;
next	1.11;

1.11
date	2006.02.05.23.08.32;	author joerg;	state Exp;
branches;
next	1.10;

1.10
date	2006.01.02.18.08.35;	author joerg;	state Exp;
branches;
next	1.9;

1.9
date	2005.12.05.23.55.04;	author rillig;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.19.03.51.00;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.03.09.29.55;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2001.12.03.08.06.24;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.21.21.40.07;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.23.07.19.12;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.14.14.52.06;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.06.23.48.49;	author jwise;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.06.21.59.59;	author jwise;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.04.06.21.59.59;	author jwise;	state Exp;
branches;
next	;


desc
@@


1.25
log
@*: bump for openssl 3
@
text
@# $NetBSD: Makefile,v 1.24 2020/01/18 21:48:57 jperkin Exp $

DISTNAME=	psqlodbc-09.00.0200
PKGNAME=	odbc-postgresql-9.0.200
PKGREVISION=	7
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_PGSQL:=odbc/versions/src/}

MAINTAINER=	adam@@NetBSD.org
HOMEPAGE=	http://pgfoundry.org/projects/psqlodbc/
COMMENT=	ODBC interface to PostgreSQL
LICENSE=	gnu-gpl-v2

CONFLICTS+=	postgresql-[0-7]*
CONFLICTS+=	iodbc-postgresql-[0-9]*
CONFLICTS+=	unixodbc-postgresql-[0-9]*

USE_LANGUAGES=		c
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-iodbc
CONFIGURE_ARGS+=	--without-unixodbc

INSTALLATION_DIRS=	share/doc/postgresql/odbc
INSTALLATION_DIRS+=	share/postgresql

post-install:
	${INSTALL_DATA} ${WRKSRC}/odbc.sql \
		${DESTDIR}${PREFIX}/share/postgresql/odbc.sql
	${INSTALL_DATA} ${WRKSRC}/odbc-drop.sql \
		${DESTDIR}${PREFIX}/share/postgresql/odbc-drop.sql
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/postgresql/odbc/

.include "../../databases/iodbc/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.24
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2016/10/09 21:41:56 wiz Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.23
log
@Recursive bump for all users of pgsql now that the default is 95.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2016/03/05 11:28:12 jperkin Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.22
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2014/02/12 23:17:39 tron Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.21
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2013/02/06 23:21:53 jperkin Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.20
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2012/10/02 21:25:23 asau Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.19
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2012/08/05 10:02:10 obache Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.18
log
@Bump PKGREVISION for change of PostgreSQL default version to 9.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2012/03/11 10:32:35 wiz Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.17
log
@Use MASTER_SITE_PGSQL from mk/fetch/sites.mk instead of having another
outdated list of mirrors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2010/12/25 08:37:31 adam Exp $
d5 1
@


1.16
log
@Changes 09.00.0200:
* Fix a bug about sizeof() at idx_fake_oid of info.
* Return 0 for the column size when the size of numeric items are unknown.
  Also improve the calculation of scale of numeric items when it is not
  explicitly specified.
* Change to use 'if' instead of an inappropriate 'else if' at cursor of convert.
* Remember to set permanent flag to holdable cursors on commit with no
  precedent rollback (to savepoint) operations.
  This fixes a crash bug in case of cursor operations across transaction.
* Fix a bug about the handling of the SQL_RETRIEVE_DATA option.
* Fix cursor bug introduced by the previous change.
* Move the setting of folder name of libpq or gssapi related dlls from .wxs
  file to .bat file.
* Fix a bug which returns incorrect values for SQL_DATETIME_SUB.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.15 2008/08/23 11:23:15 obache Exp $
d6 1
a6 1
MASTER_SITES=	${PGSQL_MIRRORS:=odbc/versions/src/}
a18 2
.include "../../databases/postgresql90/Makefile.mirrors"

@


1.15
log
@Recursive PKGREVISION bump for jpeg update to 8.
@
text
@d1 12
a12 1
# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:10 joerg Exp $
d15 15
a29 1
.include "Makefile.common"
d31 6
a36 20
PKGNAME=		odbc-postgresql-${BASE_VERS}
PKGREVISION=		3
COMMENT=		ODBC interface to PostgreSQL

CONFIGURE_ARGS+=	--with-odbcinst=${PKG_SYSCONFDIR:Q}

post-extract:
	set -e; \
	cd ${WRKSRC}; \
	[ ! -d src/backend/port/dynloader ] || (			\
		cd src/backend/port/dynloader;				\
		cp freebsd.c dragonfly.c;				\
		cp freebsd.h dragonfly.h;				\
	);								\
	[ ! -d src/template ]						\
	|| touch src/template/dragonfly;				\
	[ ! -d src/include/port ]					\
	|| cp src/include/port/freebsd.h src/include/port/dragonfly.h;	\
	[ ! -d src/makefiles ]						\
	|| cp src/makefiles/Makefile.freebsd src/makefiles/Makefile.dragonfly
d38 3
@


1.14
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2008/01/18 05:06:28 tnn Exp $
d7 1
a7 1
PKGREVISION=		2
@


1.13
log
@Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@@
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.12 2007/02/15 15:45:07 rillig Exp $
@


1.12
log
@Made the code a bit shorter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:32 joerg Exp $
d6 1
a6 1
PKGREVISION=		1
@


1.11
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2006/01/02 18:08:35 joerg Exp $
d12 13
a24 20
	if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then            \
		${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
			${WRKSRC}/src/backend/port/dynloader/dragonfly.c; \
		${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
			${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
		${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
			${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
	fi
	if [ -d ${WRKSRC}/src/template ]; then                          \
		${TOUCH} ${WRKSRC}/src/template/dragonfly;              \
	fi
	if [ -d ${WRKSRC}/src/include/port ]; then                      \
		${CP} ${WRKSRC}/src/include/port/freebsd.h              \
			${WRKSRC}/src/include/port/dragonfly.h;         \
	fi
	if [ -d ${WRKSRC}/src/makefiles ]; then                         \
		${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd          \
			${WRKSRC}/src/makefiles/Makefile.dragonfly;     \
	fi

@


1.10
log
@Add DragonFly support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/12/05 23:55:04 rillig Exp $
d6 1
@


1.9
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2002/10/19 03:51:00 jlam Exp $
d10 22
@


1.8
log
@Update databases/odbc-postgresql to version 7.2.3.  Pkgsrc changes include

   Splitting out a common Makefile for future unixodbc-postgresql and
      iodbc-postgresql packages.

Changes from version 7.1.3 include:

   Remove query size limit (Hiroshi)
   Remove text field size limit (Hiroshi)
   Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
   Allow ODBC procedure calls (Hiroshi)
   Improve boolean handing (Aidan Mountford)
   Most configuration options on setable via DSN (Hiroshi)
   Multibyte, performance fixes (Hiroshi)
   Allow driver to be used with iODBC or unixODBC (Peter E)
   MD5 password encryption support (Bruce)
   Add more compatibility functions to odbc.sql (Peter E)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2002/04/03 09:29:55 jlam Exp $
d8 1
a8 1
CONFIGURE_ARGS+=	--with-odbcinst=${PKG_SYSCONFDIR}
@


1.7
log
@Make odbc-postgresql build stand-alone instead of requiring Makefile.common
from databases/postgresql.  Also honor PKG_SYSCONFDIR.
@
text
@d1 3
a3 1
# $NetBSD: Makefile,v 1.6 2001/12/03 08:06:24 jlam Exp $
a4 1
DISTNAME=		postgresql-${DIST_VERS}
a5 12
CATEGORIES=		databases
PGSQL_SITES=		http://www.postgresql.org/ftpsite/ \
			ftp://ftp.postgresql.org/pub/ \
			ftp://ftp.de.postgresql.org/pub/ \
			ftp://ch.postgresql.org/mirror/postgresql/ \
			ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/ \
			ftp://looking-glass.usask.ca/pub/postgresql/ \
			ftp://ftp.sunsite.auc.dk/mirrors/postgresql/ \
			ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/
MASTER_SITES?=		${PGSQL_SITES:=source/v${DIST_VERS}/}

MAINTAINER=		jwise@@netbsd.org
a6 24
HOMEPAGE=		http://odbc.postgresql.org/

CONFLICTS+=		postgresql-[0-6]* postgresql-7.0*

# Version numbering scheme:
#
# DIST_VERS		version number on the postgresql distfile
# BASE_VERS		pkgsrc-mangled version number (convert pl -> .)
#
DIST_VERS?=		7.1.3
BASE_VERS?=		${DIST_VERS}

USE_BUILDLINK_ONLY=	YES
USE_GMAKE=		YES
GNU_CONFIGURE=		YES

.include "../../mk/bsd.prefs.mk"

# PG_MB_ENCODING may be set to any of:
#
# SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE, MULE_INTERNAL,
# LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, KOI8, WIN, ALT
#
# This variable controls the language encoding on the backend process.
a7 7
.if defined(PG_MB_ENCODING)
CONFIGURE_ARGS+=	--enable-multibyte=${PG_MB_ENCODING}
.else
CONFIGURE_ARGS+=	--enable-multibyte	# accept default
.endif

CONFIGURE_ARGS+=	--with-odbc
a8 29
CONFIGURE_ARGS+=	--without-java
CONFIGURE_ARGS+=	--without-perl
CONFIGURE_ARGS+=	--without-python
CONFIGURE_ARGS+=	--without-tcl
CONFIGURE_ARGS+=	--without-tk

CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/pgsql
CONFIGURE_ARGS+=	--with-htmldir=${PREFIX}/share/doc/html/postgresql
CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_DIR}

CONFIGURE_ARGS+=	--disable-readline
CONFIGURE_ARGS+=	--enable-locale
CONFIGURE_ARGS+=	--enable-syslog
CONFIGURE_ARGS+=	--with-CXX
CONFIGURE_ARGS+=	--with-template="${LOWER_OPSYS}"

DIRS_TO_BUILD=		src/interfaces/odbc

do-build:
.for DIR in ${DIRS_TO_BUILD}
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV}			\
		${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
.endfor

do-install:
.for DIR in ${DIRS_TO_BUILD}
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV}			\
		${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.endfor
@


1.6
log
@Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in postgresql/Makefile.common related to the old way of handling version
numbers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/06/21 21:40:07 jlam Exp $
d3 12
a14 2
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
d16 1
a16 1
PKGNAME=		odbc-postgresql-${PG_BASE_VERS}
d18 15
d34 8
a41 2
MAINTAINER=		jwise@@netbsd.org
HOMEPAGE=		http://odbc.postgresql.org/
d43 5
a47 1
USE_BUILDLINK_ONLY=	# defined
d50 16
a65 1
CONFIGURE_ARGS+=	--with-odbcinst=/etc
@


1.5
log
@Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2001/05/23 07:19:12 jlam Exp $
d6 1
a6 2
PKGNAME=		odbc-postgresql-${PG_VERS}
PG_PKG_VERS=		# empty
@


1.4
log
@ODBC-specific PostgreSQL homepage
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2001/05/14 14:52:06 jlam Exp $
d12 2
@


1.3
log
@Update odbc-postgresql to 7.1.1.  There don't appear to be any functional
changes from version 7.0.3, only that this package is now built from sources
found in the PostgreSQL-7.1.1 sources.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2001/04/06 23:48:49 jwise Exp $
d11 1
@


1.2
log
@Add a MAINTAINER field.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2001/04/06 21:59:59 jwise Exp $
d4 1
d6 3
a8 1
PKGNAME=		odbc-${DISTNAME}
a9 1
COMMENT=		ODBC interface to PostgreSQL
d12 2
a13 6
DEPENDS+=		postgresql-${PG_VERS}:../../databases/postgresql

MAKE_ENV+=		INSTALLED_LIBPQ=1

CONFIGURE_ARGS+=	--without-perl --without-tcl
CONFIGURE_ARGS+=	--with-odbc --with-odbcinst=/etc
d15 1
a15 1
DIRS_TO_BUILD=		interfaces/odbc
d19 1
a19 1
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
d25 1
a25 1
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/02/16 14:17:42 wiz Exp $
d8 1
@


1.1.1.1
log
@Initial import of odbc-postgresql, the PostgreSQL 7 ODBC support.
@
text
@@
