summaryrefslogtreecommitdiff
path: root/databases/postgresql74-lib
diff options
context:
space:
mode:
authorrecht <recht>2004-04-20 22:37:22 +0000
committerrecht <recht>2004-04-20 22:37:22 +0000
commit6230268c2e512f4eee36f94492bbed53220e21cb (patch)
treeca81ec45257c8deb7312fe3a6af8748cb8e165bf /databases/postgresql74-lib
parent5ecee2ad114c9927640c71983f0ff809b4e4dad0 (diff)
downloadpkgsrc-6230268c2e512f4eee36f94492bbed53220e21cb.tar.gz
Follow a suggestion by Josh Berkus (pgsql core team) and build
with --enable-thread-safety. Bump PKGREVISIONs accordingly (meta-pkg, -client, -lib).
Diffstat (limited to 'databases/postgresql74-lib')
-rw-r--r--databases/postgresql74-lib/Makefile11
-rw-r--r--databases/postgresql74-lib/buildlink3.mk4
2 files changed, 12 insertions, 3 deletions
diff --git a/databases/postgresql74-lib/Makefile b/databases/postgresql74-lib/Makefile
index 095a36c4156..656ad077a98 100644
--- a/databases/postgresql74-lib/Makefile
+++ b/databases/postgresql74-lib/Makefile
@@ -1,18 +1,26 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/04/19 00:02:30 recht Exp $
+# $NetBSD: Makefile,v 1.2 2004/04/20 22:37:22 recht Exp $
PKGNAME= postgresql-lib-${BASE_VERS}
+PKGREVISION= 1
SVR4_PKGNAME= pstgl
COMMENT= PostgreSQL database headers and libraries
.include "../../databases/postgresql74/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+
BUILD_DIRS= ${WRKSRC}/src/include
BUILD_DIRS+= ${WRKSRC}/src/interfaces
BUILD_DIRS+= ${WRKSRC}/src/pl
.include "../../mk/bsd.prefs.mk"
+# As told by Josh Berkus
+# currently broken for SunOS, will be fixed in 7.4.3
+.if (${OPSYS} != "SunOS")
+CONFIGURE_ARGS+= --enable-thread-safety
+.endif
+
# handle additional headers installed by hierarchical queries patch
.if defined(PGSQL_USE_HIER) && !empty(PGSQL_USE_HIER:M[yY][eE][sS])
PLIST_SUBST+= PG_HIER=
@@ -37,4 +45,5 @@ post-install:
-f ${WRKSRC}/doc/man.tar.gz
.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql74-lib/buildlink3.mk b/databases/postgresql74-lib/buildlink3.mk
index 3fe83c8f514..be7978cb6ff 100644
--- a/databases/postgresql74-lib/buildlink3.mk
+++ b/databases/postgresql74-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/19 00:02:33 recht Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/04/20 22:37:22 recht Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL_LIB_BUILDLINK3_MK:= ${POSTGRESQL_LIB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql-lib}
BUILDLINK_PACKAGES+= postgresql-lib
.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.postgresql-lib+= postgresql-lib>=7.4.2
+BUILDLINK_DEPENDS.postgresql-lib+= postgresql-lib>=7.4.2nb1
BUILDLINK_PKGSRCDIR.postgresql-lib?= ../../databases/postgresql74-lib
BUILDLINK_INCDIRS.postgresql-lib?= include/postgresql
.endif # POSTGRESQL_LIB_BUILDLINK3_MK