Subject: pkg/8251: make sidplay build without X11
To: None <>
From: Antti Kantee <>
List: netbsd-bugs
Date: 08/22/1999 05:50:55
>Number:         8251
>Category:       pkg
>Synopsis:       sidplay doesn't build without X11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 22 05:05:00 1999
>Originator:     Antti Kantee
>Release:        NetBSD 1.4

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.

(cd pkgsrc/audio/sidplay ; make) on a box without X11

The following patch fixes configure to use 'mkdep' if 'makedepend' is not
found. Note: the patch is provided only for, as configure
can be created from it trivially. (and the patch for configure was loooong)

---    Sun Apr 11 21:01:39 1999
+++        Sun Aug 22 14:45:13 1999
@@ -69,7 +69,11 @@
 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;