Subject: pkg/29889: devel/nbitools imake miss cpp on MacOSX 10.3.7/Darwin 7.7.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mochid@netside.co.jp>
List: pkgsrc-bugs
Date: 04/05/2005 07:57:00
>Number:         29889
>Category:       pkg
>Synopsis:       devel/nbitools imake miss cpp on MacOSX 10.3.7/Darwin 7.7.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 05 07:57:00 +0000 2005
>Originator:     MOCHIDA Shuji
>Release:        pkgsrc supped at Apr. 4 from sup.jp.netbsd.org
>Organization:
personal
>Environment:
7.7.1 Darwin Kernel Version 7.7.1 (MacOSX 10.3.7)
  gcc 3,3 by Apple
>Description:

  % cd devel/nbitools
  % bmake
    :
  ===> Configuring for nbitools-6.3nb1
  ===> Building for nbitools-6.3nb1

  Building Release 6.3 of the itools distribution.
    :
  ./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
  ./config/imake/imake: No such file or directory
  ./config/imake/imake: Cannot exec /lib/cpp.
    Stop.
  ./config/imake/imake: Exit code 1.
    Stop.
  *** Error code 1

>How-To-Repeat:
  see above.

>Fix:
  change patch-ah.

--- config/imake/imakemdep.h.ORIG	Tue Apr  5 16:44:53 2005
+++ config/imake/imakemdep.h	Tue Apr  5 16:48:15 2005
@@ -253,7 +253,7 @@
 #if defined(sun) && (defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__))
 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
 #endif
-#ifdef __bsdi__ || defined(__APPLE__)
+#if defined(__bsdi__) || defined(__APPLE__)
 #define DEFAULT_CPP "/usr/bin/cpp"
 #endif
 #ifdef __uxp__

>Unformatted: