NetBSD Problem Report #8251
Received: (qmail 1141 invoked from network); 22 Aug 1999 11:57:28 -0000
Message-Id: <199908221155.OAA11459@kolster.fi>
Date: Sun, 22 Aug 1999 14:55:21 +0300 (EEST)
From: Antti Kantee <pooka@iki.fi>
Reply-To: pooka@iki.fi
To: gnats-bugs@gnats.netbsd.org
Subject: make sidplay build without X11
X-Send-Pr-Version: 3.95
>Number: 8251
>Category: pkg
>Synopsis: sidplay doesn't build without X11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 22 05:05:00 +0000 1999
>Closed-Date: Sun Aug 22 20:36:54 +0000 1999
>Last-Modified: Sun Aug 22 20:37:29 +0000 1999
>Originator: Antti Kantee
>Release: NetBSD 1.4
>Organization:
>Environment:
NetBSD/i386
>Description:
The sidplay package currently requires 'makedepend' to build, but it comes
with X11, so sidplay won't build on a box which doesn't have X11.
>How-To-Repeat:
(cd pkgsrc/audio/sidplay ; make) on a box without X11
>Fix:
The following patch fixes configure to use 'mkdep' if 'makedepend' is not
found. Note: the patch is provided only for configure.in, as configure
can be created from it trivially. (and the patch for configure was loooong)
--- configure.in.old Sun Apr 11 21:01:39 1999
+++ configure.in Sun Aug 22 14:45:13 1999
@@ -69,7 +69,11 @@
AC_CHECK_PROG(MAKEDEP,makedepend,makedepend,nomakedep)
if test "$MAKEDEP" = "nomakedep"; then
- AC_MSG_ERROR(No ``makedepend'' found.)
+ AC_CHECK_PROG(MKDEP,mkdep,mkdep,nomkdep)
+ if test "$MKDEP" = "nomkdep"; then
+ AC_MSG_ERROR(No ``makedepend'' or ``mkdep'' found.)
+ fi;
+ MAKEDEP=$MKDEP
fi;
AC_SUBST(MAKEDEP)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: frueauf
State-Changed-When: Sun Aug 22 13:36:54 PDT 1999
State-Changed-Why:
I committed the patches today, thanx!
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: Antti Kantee <pooka@iki.fi>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/8251: make sidplay build without X11
Date: Mon, 23 Aug 1999 02:52:56 +0200 (MET DST)
On Sun, 22 Aug 1999, Antti Kantee wrote:
> AC_CHECK_PROG(MAKEDEP,makedepend,makedepend,nomakedep)
> if test "$MAKEDEP" = "nomakedep"; then
> - AC_MSG_ERROR(No ``makedepend'' found.)
> + AC_CHECK_PROG(MKDEP,mkdep,mkdep,nomkdep)
wouldn't it be easier to just check for "mkdep" instead of "makedepend" in
the first place?
- Hubert
--
NetBSD - Better for your uptime than Viagra
From: Antti Kantee <pooka@iki.fi>
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/8251: make sidplay build without X11
Date: Mon, 23 Aug 1999 21:28:04 +0300
On Mon Aug 23 1999 at 02:52:56 +0200, Hubert Feyrer wrote:
> > AC_CHECK_PROG(MAKEDEP,makedepend,makedepend,nomakedep)
> > if test "$MAKEDEP" = "nomakedep"; then
> > - AC_MSG_ERROR(No ``makedepend'' found.)
> > + AC_CHECK_PROG(MKDEP,mkdep,mkdep,nomkdep)
>
> wouldn't it be easier to just check for "mkdep" instead of "makedepend" in
> the first place?
No, as I don't have the faintest clue weather or not mkdep DTRT, I just
know that it helps build a binary which works. We could always replace
makedepend with nothing, but that seems too desperate.
--
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ 1973 <- draken \ / o
<pooka@iki.fi> / http://www.netbsd.org \ platters -> 1999 \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |
>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.