Subject: pkg/32098: nas build release.h in include
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 11/17/2005 14:25:01
>Number:         32098
>Category:       pkg
>Synopsis:       nas build release.h in include
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 17 14:25:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:


problem in building nas
it can't find release.h when building nasd


>How-To-Repeat:





>Fix:


--- config/NetAudio.tmpl.orig   Sun Feb 15 00:38:32 2004
+++ config/NetAudio.tmpl        Thu Nov 17 15:09:16 2005
@@ -287,6 +287,8 @@
 release.h: $(TOP)/RELEASE                                                  @@\
        @echo "static char *release = \"@(#)`cat $(TOP)/RELEASE`\";" > $@   @@\
                                                                            @@\
+includes:: release.h                                                       @@\
+                                                                           @@\
 depend:: release.h                                                         @@\
                                                                            @@\
 clean::                                                                            @@\