NetBSD Problem Report #49877
From www@NetBSD.org Sun May 3 23:03:26 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id B2AC1A654B
for <gnats-bugs@gnats.NetBSD.org>; Sun, 3 May 2015 23:03:26 +0000 (UTC)
Message-Id: <20150503230325.71444A6551@mollari.NetBSD.org>
Date: Sun, 3 May 2015 23:03:25 +0000 (UTC)
From: gonufer@jazzhaiku.com
Reply-To: gonufer@jazzhaiku.com
To: gnats-bugs@NetBSD.org
Subject: sunpro.mk uses wrong variable syntax, $SUNWSPROBASE instead of ${SUNWSPROBASE}
X-Send-Pr-Version: www-1.0
>Number: 49877
>Category: pkg
>Synopsis: sunpro.mk uses wrong variable syntax, $SUNWSPROBASE instead of ${SUNWSPROBASE}
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 03 23:05:00 +0000 2015
>Closed-Date: Mon May 04 17:32:57 +0000 2015
>Last-Modified: Mon May 04 17:32:57 +0000 2015
>Originator: Greg Onufer
>Release: trunk
>Organization:
>Environment:
generic
>Description:
The check for the existence of the compiler directory always fails because it expands $S instead of ${SUNWSPROBASE}
>How-To-Repeat:
>Fix:
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index 1678c4a..ec56586 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -16,7 +16,7 @@ COMPILER_SUNPRO_MK= defined
.include "../../mk/bsd.prefs.mk"
SUNWSPROBASE?= /opt/SUNWspro
-.if !exists($SUNWSPROBASE)
+.if !exists(${SUNWSPROBASE})
SUNWSPROBASE!= /bin/ls -d /opt/solstudio*
.endif
>Release-Note:
>Audit-Trail:
From: "Joerg Sonnenberger" <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49877 CVS commit: pkgsrc/mk/compiler
Date: Sun, 3 May 2015 23:16:41 +0000
Module Name: pkgsrc
Committed By: joerg
Date: Sun May 3 23:16:41 UTC 2015
Modified Files:
pkgsrc/mk/compiler: sunpro.mk
Log Message:
PR 49877: Expand correct variable. From Greg Onufer.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/mk/compiler/sunpro.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 04 May 2015 17:32:57 +0000
State-Changed-Why:
fixed, thanks
>Unformatted:
(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.