pkgsrc/databases/guile-pg/Makefile
gdt 23e2413166 Update to 0.37. Headlines from NEWS:
- 0.37 | 2008-05-24

  - Configuration change: search $prefix for PostgreSQL headers/libs

  - Change to pg-get-connection

	This proc now returns #f if its arg's connection is no longer live.
	You should probably avoid it altogether; see following NEWS item.

  - Planned modesty

	Currently, Guile-PG exposes some accounting (implementation) details
	that it shouldn't.  These are the "serial number" of connection and
	result objects, and the link between a result object the connection
	object where it originated.  These details WILL BE REMOVED after
	2008-10-01; do NOT rely on them.  Practically speaking, this means
	`pg-get-connection' will be deleted and the external representation
	for the objects will drop the "N" field:

	until 2008-10-01:   #<PG-CONN:N:...>   and   #<PG-RESULT:N:...>
	after 2008-10-01:   #<PG-CONN:...>     and   #<PG-RESULT:...>

  - Tests issue SQL commands directly to CREATE and DROP the test database

	Previously "make check" required the commands createdb(1) and
        dropdb(1) (or destroydb(1) for older PostgreSQL versions) to be
        installed on the system.  Now, the test infrastructure uses Guile-PG
        module (database postgres) to connect to "template1" and issues SQL
	commands "CREATE DATABASE" and "DROP DATABASE" directly.

  - New (database postgres-meta) proc: information-schema-names
  - New (database postgres-meta) proc: information-schema-coldefs

	These procs describe Guile-PG's "standard introspection" support,
	as specified in the PostgreSQL 7.4.19 documentation (chapter 32,
	"The Information Schema").

	Additionally, loading the module defines type converters for
	`cardinal_number', `character_data' and `sql_identifier'.  The
	`time_stamp' type converter does not seem to be used and is not
	provided.

  - New pgtable-manager (and -worker) command: #:finish

	This closes the (internal) connection and arranges for all future
	invocations of the closure to signal a "dead connection" error.

  - Proc `gxrepl' closes connection when done

  - New support for #:FOO-all combiners in `parse+make-SELECT-tree'

	This (database postgres-qcons) proc now supports #:union-all,
	#:intersect-all and #:except-all, as combiners.

  - Maintenance uses autoconf 2.62, automake 1.10.1, libtool 2.2.2
2008-10-20 13:53:17 +00:00

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2008/10/20 13:53:17 gdt Exp $
#
DISTNAME= guile-pg-0.37
CATEGORIES= databases
MASTER_SITES= http://www.gnuvola.org/software/guile-pg/
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.gnuvola.org/software/guile-pg/
COMMENT= PostgreSQL interface for Guile
USE_LIBTOOL= YES
USE_TOOLS+= gmake
GNU_CONFIGURE= YES
INFO_FILES= # PLIST
#LICENSE= gnu-gplv3
TEST_TARGET= check
# There are several versions of guile; the relevant ones for this
# module are 1.6.x, which is the current FSF version, and ttn-1.4,
# which is a forked version of 1.4 by Thien-Thi Nguyen, the maintainer
# of guile-pg. fsf-1.4 is considered obsolete by nearly everyone.
# In 1.6 (but not fsf-1.4 or ttn-1.4), binary modules are deprecated.
# guile-pg uses binary modules, and places them and scheme code in
# $GUILE_LIBSITE, which is searched by ttn-1.4, but not by 1.6. The
# simplest nonproblematic solution is to symlink the installed code to
# where 1.6 expects it. We could patch guile-pg to install in 1.6's
# preferred location ${PREFIX}/share/guile/site, but there is a shared
# library which of course cannot go in share.
SITE=${PREFIX}/guile/1.6/share/guile/site
post-install:
# guile should make this, but if not
${INSTALL_DATA_DIR} ${SITE}
cd ${SITE} && ${LN} -sf ../../../../../lib/guile/site/database .
.include "../../lang/guile16/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"