pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases databases/postgresql12: Avoid autoconf MKDIR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f20071f09599
branches:  trunk
changeset: 386580:f20071f09599
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Oct 10 12:06:19 2022 +0000

description:
databases/postgresql12: Avoid autoconf MKDIR bug

Force autoconf to find mkdir as... mkdir.

Work around a bug in autoconf, that thinks almost all mkdir
implementations are deficient, and a bug someplace between postgis
and pgxs, that causes topology/Makefile.in to run pgxs's install-sh
but without a path.

As discussed on tech-pkg@.

diffstat:

 databases/postgresql12-client/Makefile |  3 ++-
 databases/postgresql12/Makefile.common |  8 +++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 71747cea19f9 -r f20071f09599 databases/postgresql12-client/Makefile
--- a/databases/postgresql12-client/Makefile    Mon Oct 10 11:27:28 2022 +0000
+++ b/databases/postgresql12-client/Makefile    Mon Oct 10 12:06:19 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2022/08/15 20:59:37 adam Exp $
+# $NetBSD: Makefile,v 1.27 2022/10/10 12:06:19 gdt Exp $
 
 PKGNAME=       ${DISTNAME:S/-/12-client-/}
+PKGREVISION=   1
 COMMENT=       PostgreSQL database client programs
 
 .include "../../databases/postgresql12/Makefile.common"
diff -r 71747cea19f9 -r f20071f09599 databases/postgresql12/Makefile.common
--- a/databases/postgresql12/Makefile.common    Mon Oct 10 11:27:28 2022 +0000
+++ b/databases/postgresql12/Makefile.common    Mon Oct 10 12:06:19 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2022/10/03 07:50:27 nia Exp $
+# $NetBSD: Makefile.common,v 1.23 2022/10/10 12:06:19 gdt Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -68,6 +68,12 @@
 CONFIGURE_ARGS+=       --without-python
 CONFIGURE_ARGS+=       --without-tcl
 
+# Work around a bug in autoconf, that thinks almost all mkdir
+# implementations are deficient, and a bug someplace between postgis
+# and pgxs, that causes topology/Makefile.in to run pgxs's install-sh
+# but without a path.
+CONFIGURE_ENV+=                ac_cv_path_mkdir="mkdir"
+
 # avoid pointing to a wrapper
 CONFIGURE_ENV+=                MSGFMT=${TOOLS_PATH.msgfmt}
 



Home | Main Index | Thread Index | Old Index