pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45434: audio/nas needs makedepend



>Number:         45434
>Category:       pkg
>Synopsis:       (X11_TYPE=modular) audio/nas needs makedepend
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 06 08:45:00 +0000 2011
>Originator:     Makoto Fujiwara
>Release:        NetBSD 5.1
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD t-105.i.ki.nu 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov 6 13:19:33 
UTC 2010 
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
   On the machine which xbase.gz is not installed by sysinst,
  the system lacks makedepend. 

  you will get following:
  -----------
        depending in ./include...
        depending in include/audio...
        depending in ./server...
        depending in server/dia...
        yacc -d gram.y
        mv -f y.tab.c gram.c
        + mv -f y.tab.h gram.h
        lex  lex.l
        mv lex.yy.c lex.c
        rm -f .depend
        
        makedepend -f- -- -I. -I../include -I../../include
         -I../../lib/audio -I../../include -I/usr/pkg/include
         -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
         -DNASCONFSEARCHPATH=\"/usr/pkg/etc/nas/\" -DUSE_MAKEDEPEND --
         dispatch.c dixutils.c events.c globals.c main.c resource.c
         swapreq.c tables.c swaprep.c audispatch.c auswap.c autables.c
         auevents.c auutil.c auconfig.c auprocess.c nasconf.c lex.c
         gram.c > .depend
        
        makedepend: not found
        
        *** Error code 127
  -----------
>How-To-Repeat:
On the machine which xbase.gz is not installed by sysinst,
the system lacks makedepend. 
  cd pkgsrc/audio/nas; 
  make package;

>Fix:
Index: audio/nas/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/audio/nas/Makefile,v
retrieving revision 1.85
diff -u -r1.85 Makefile
--- audio/nas/Makefile  29 Jun 2011 19:47:35 -0000      1.85
+++ audio/nas/Makefile  6 Oct 2011 08:35:55 -0000
@@ -7,7 +7,7 @@
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nas/}
 
 MAINTAINER=    markd%NetBSD.org@localhost
-HOMEPAGE=      http://nas.sourceforge.net
+HOMEPAGE=      http://nas.sourceforge.net/
 COMMENT=       Network Audio System
 LICENSE=       mit # with no-advertisement clause
 
@@ -41,6 +41,10 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${X11_TYPE} != "native"
+BUILD_DEPENDS+=                makedepend-[0-9]*:../../devel/makedepend
+.endif
+
 .if defined(UNPRIVILEGED) && !empty(UNPRIVILEGED:M[Yy][Ee][Ss])
 SUBST_CLASSES+=                owngrp
 SUBST_MESSAGE.owngrp=  Fixing hardcoded owner/group.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index