NetBSD Problem Report #29264

From njoly@pasteur.fr  Mon Feb  7 12:38:13 2005
Return-Path: <njoly@pasteur.fr>
Received: from electre.pasteur.fr (electre.pasteur.fr [157.99.64.120])
	by narn.netbsd.org (Postfix) with ESMTP id 0EC9763B843
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  7 Feb 2005 12:38:13 +0000 (UTC)
Message-Id: <20050207123805.057696B403@lanfeust.sis.pasteur.fr>
Date: Mon,  7 Feb 2005 13:38:05 +0100 (CET)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@netbsd.org
Subject: sysutils/dmidecode Makefile fix for x86_64
X-Send-Pr-Version: 3.95

>Number:         29264
>Category:       pkg
>Synopsis:       sysutils/dmidecode Makefile fix for x86_64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 07 12:39:00 +0000 2005
>Closed-Date:    Mon Feb 07 12:42:31 +0000 2005
>Last-Modified:  Mon Feb 07 12:43:01 +0000 2005
>Originator:     Nicolas Joly
>Release:        NetBSD 2.99.15
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 2.99.15 NetBSD 2.99.15 (LANFEUST) #0: Mon Feb 7 10:16:01 CET 2005 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
There is a typo in sysutils/dmidecode/Makefile, that prevent building it
on x86_64.

njoly@lanfeust [sysutils/dmidecode]> make
===> dmidecode-2.5 is not available for NetBSD-2.99.15-x86_64

The `ONLY_FOR_PLATFORM' variable use `*-*-x86' instead of `*-*-x86_64'.

>How-To-Repeat:
cd pkgsrc/sysutils/dmidecode && make
>Fix:
With the following patch, this apllication compile/works fine on all my
NetBSD/amd64 boxes.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dmidecode/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	12 Jan 2005 00:00:36 -0000	1.1.1.1
+++ Makefile	7 Feb 2005 10:45:48 -0000
@@ -10,6 +10,6 @@
 COMMENT=	Print out DMI (SMBIOS) table in human-readable format

 NO_BUILDLINK=	YES
-ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86
+ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64

 .include "../../mk/bsd.pkg.mk"

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Mon, 07 Feb 2005 12:42:31 +0000
State-Changed-Why:
Fixed, thanks.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29264 CVS commit: pkgsrc/sysutils/dmidecode
Date: Mon,  7 Feb 2005 12:42:21 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Feb  7 12:42:20 UTC 2005

 Modified Files:
 	pkgsrc/sysutils/dmidecode: Makefile

 Log Message:
 Fix typo in ONLY_FOR_PLATFORM to enable it for amd64.
 From Nicolas Joly in PR 29264.


 To generate a diff of this commit:
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/sysutils/dmidecode/Makefile

 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.