NetBSD Problem Report #39391

From duck@shangtai.net  Fri Aug 22 16:40:03 2008
Return-Path: <duck@shangtai.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 166C063B11D
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Aug 2008 16:40:03 +0000 (UTC)
Message-Id: <20080822163956.E229F2D4E7@knightrider.shangtai.net>
Date: Fri, 22 Aug 2008 19:39:56 +0300 (EEST)
From: duck@shangtai.net
Reply-To: duck@shangtai.net
To: gnats-bugs@gnats.NetBSD.org
Subject: postgresql82-client selects nonexistent "irix5" template on IRIX
X-Send-Pr-Version: 3.95

>Number:         39391
>Category:       pkg
>Synopsis:       databases/postgresql82-client configure fails on irix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    adam
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 22 16:45:00 +0000 2008
>Closed-Date:    Sat Aug 23 15:42:52 +0000 2008
>Last-Modified:  Sat Aug 23 15:45:02 +0000 2008
>Originator:     duck@shangtai.net
>Release:        pkgsrc-2008Q2
>Organization:
>Environment:
System: IRIX64 halo 6.5 6.5.27m 01062343 IP30
Architecture: mips
Machine: IP30
>Description:
databases/postgresql82/Makefile.common specifies the following:

PGSQL_TEMPLATE.IRIX=            irix5

This template does not exist, making configure fail.

>How-To-Repeat:
Attempt to build any postgresql82 package on irix
>Fix:
This patch should fix it

--- Makefile.common.old Fri Aug 22 19:26:09 2008
+++ Makefile.common     Fri Aug 22 17:33:30 2008
@@ -55,7 +55,7 @@
 .include "../../mk/bsd.prefs.mk"

 PGSQL_TEMPLATE.SunOS=          solaris
-PGSQL_TEMPLATE.IRIX=           irix5
+PGSQL_TEMPLATE.IRIX=           irix
 .if !defined(PGSQL_TEMPLATE.${OPSYS})
 PGSQL_TEMPLATE.${OPSYS}=       ${LOWER_OPSYS}
 .endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 22 Aug 2008 22:27:21 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39391: postgresql82-client selects nonexistent "irix5"
	template on IRIX
Date: Sat, 23 Aug 2008 16:08:46 +0200

 On Fri, Aug 22, 2008 at 04:45:00PM +0000, duck@shangtai.net wrote:
 > --- Makefile.common.old Fri Aug 22 19:26:09 2008
 > +++ Makefile.common     Fri Aug 22 17:33:30 2008
 > @@ -55,7 +55,7 @@
 >  .include "../../mk/bsd.prefs.mk"
 >  
 >  PGSQL_TEMPLATE.SunOS=          solaris
 > -PGSQL_TEMPLATE.IRIX=           irix5
 > +PGSQL_TEMPLATE.IRIX=           irix
 >  .if !defined(PGSQL_TEMPLATE.${OPSYS})
 >  PGSQL_TEMPLATE.${OPSYS}=       ${LOWER_OPSYS}
 >  .endif

 Does it work for you to just drop the line? The following .if should
 handle that.

 Joerg

From: Staffan =?iso-8859-1?Q?Thom=E9n?= <duck@shangtai.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39391: postgresql82-client selects nonexistent "irix5" template on IRIX
Date: Sat, 23 Aug 2008 18:35:27 +0300

 --k+w/mQv8wyuph6w0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 > Original text by Joerg Sonnenberger
 > The following reply was made to PR pkg/39391; it has been noted by GNATS.
 >=20
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: pkg/39391: postgresql82-client selects nonexistent "irix5"
 > 	template on IRIX
 > Date: Sat, 23 Aug 2008 16:08:46 +0200
 >=20
 >  On Fri, Aug 22, 2008 at 04:45:00PM +0000, duck@shangtai.net wrote:
 >  > --- Makefile.common.old Fri Aug 22 19:26:09 2008
 >  > +++ Makefile.common     Fri Aug 22 17:33:30 2008
 >  > @@ -55,7 +55,7 @@
 >  >  .include "../../mk/bsd.prefs.mk"
 >  > =20
 >  >  PGSQL_TEMPLATE.SunOS=3D          solaris
 >  > -PGSQL_TEMPLATE.IRIX=3D           irix5
 >  > +PGSQL_TEMPLATE.IRIX=3D           irix
 >  >  .if !defined(PGSQL_TEMPLATE.${OPSYS})
 >  >  PGSQL_TEMPLATE.${OPSYS}=3D       ${LOWER_OPSYS}
 >  >  .endif
 > =20
 >  Does it work for you to just drop the line? The following .if should
 >  handle that.

  Yes, that works just as well.

 --=20
 Staffan Thomen 1024D/7C7E2EF8
 Sed quis custodiet ipsos Custodes?

 --k+w/mQv8wyuph6w0
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iD8DBQFIsC4/EbvWbnx+LvgRAqzFAJ9a8SJXhwraMfgyMH7gnCt+Bgn39wCeJ88o
 ncs4o0NAzI0iVFmKzXNIo40=
 =SlXB
 -----END PGP SIGNATURE-----

 --k+w/mQv8wyuph6w0--

State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Sat, 23 Aug 2008 15:42:52 +0000
State-Changed-Why:
Applied. Thanks.


From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39391 CVS commit: pkgsrc/databases/postgresql82
Date: Sat, 23 Aug 2008 15:42:18 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Sat Aug 23 15:42:18 UTC 2008

 Modified Files:
 	pkgsrc/databases/postgresql82: Makefile.common

 Log Message:
 Use standard OS template on IRIX. From PR 39391.


 To generate a diff of this commit:
 cvs rdiff -r1.11 -r1.12 pkgsrc/databases/postgresql82/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.