c27abb4a87
* Become maintainer for the postgresql80-* packages (ok'd by recht) * Libtoolize postgresql80 build so that the shared libraries and loadable shared modules are built using libtool. This should make PostgreSQL 8.0.x in pkgsrc build correctly on more pkgsrc-supported platforms. This is accomplished with the Makefile.libtool file which replaces the Makefile.shlib file in the PostgreSQL distribution. * Add libltdl modifications from the postgresql74-* packages so that this can work on Interix (untested). * Fix some mismatches between static function declarations and their subsesquent definitions in the src/timezone module. Fixes provided by Georg Schwarz. * Convert PGSQL_USE_HIER into the PKG_OPTION "pgsql-hier-query", and teach both postgresql80-client and postgresql80-server to use it. * Use BUILDLINK_TRANSFORM's "rm" action to remove unwanted compiler flags. * Remove zlib/buildlink3.mk from postgresql80-client/buildlink3.mk as zlib is only used by the pg_dump client. * Convert some files in files/* into patches that can be fed back to the PostgreSQL team. * Install data and documentation files into share/postgresql instead of share/postgresql80 -- it's only possible to install one PostgreSQL version at a time in pkgsrc, and the new paths more closely match the rest of the installation paths. * Add more mirrors to the MASTER_SITES list, and add a new variable POSTGRESQL_MIRRORS_SORT that has the same syntax as MASTER_SORT that can help people pick a nearby mirror. * Nuke references to libpgtcl which is no longer distributed as part of a standard PostgreSQL installation as of version 8.0. * Provide better documentation for Makefile.custom. * Avoid linking in the pthread library in the correct way on NetBSD by setting DLOPEN_REQUIRE_PTHREADS=no. Also, provide better documentation on why we can't enable thread-safety in the PostgreSQL libraries on NetBSD (at least for now). * Preliminary support for installing postgresql80-* into a separate subdirectory under ${LOCALBASE} so possibly allow for multiple installations of PostgreSQL on the same machine. Note that THIS DOES NOT WORK YET. * Update the hierarchical-queries patch to "8.0.3-0.5.5" which fixes a bug which was crashing the backend when PRIOR was used in the target list. The _level_ column is no longer automatically added to target list. This makes it possible to use hierarchical queries as IN subqueries. To get _level_ back you just have to explicitly mention it in target list. Bump the following PKGREVISIONs: postgresql80-client -> 2 postgresql80-server -> 2 postgresql80 -> 1
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.2 2005/08/05 19:43:45 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
POSTGRESQL80_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL80_CLIENT_BUILDLINK3_MK}+
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= postgresql80-client
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql80-client}
|
|
BUILDLINK_PACKAGES+= postgresql80-client
|
|
|
|
.if !empty(POSTGRESQL80_CLIENT_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.postgresql80-client+= postgresql80-client>=8.0.2
|
|
BUILDLINK_PKGSRCDIR.postgresql80-client?= ../../databases/postgresql80-client
|
|
|
|
. if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
|
|
BUILDLINK_INCDIRS.postgresql80-client?= ${PG_SUBPREFIX}/include
|
|
BUILDLINK_LIBDIRS.postgresql80-client?= ${PG_SUBPREFIX}/lib
|
|
. endif
|
|
|
|
# This variable contains the libraries need to link most clients.
|
|
BUILDLINK_LDADD.postgresql80-client= -lpq ${BUILDLINK_LDADD.gettext}
|
|
|
|
BUILDLINK_FILES.postgresql80-client+= bin/pg_config
|
|
.endif # POSTGRESQL80_CLIENT_BUILDLINK3_MK
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|