pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nbitools Fix location of CPP when using MacOSX, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5d5794ea555
branches:  trunk
changeset: 469238:f5d5794ea555
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Feb 21 07:09:50 2004 +0000

description:
Fix location of CPP when using MacOSX, and include <sys/types.h> and
others as well to fix building, patches provided by Hiramatu Yosifumi
in PR pkg/24348.

diffstat:

 devel/nbitools/distinfo         |   4 +++-
 devel/nbitools/patches/patch-ag |  13 +++++++++++++
 devel/nbitools/patches/patch-ah |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r d726724a6037 -r f5d5794ea555 devel/nbitools/distinfo
--- a/devel/nbitools/distinfo   Sat Feb 21 07:07:34 2004 +0000
+++ b/devel/nbitools/distinfo   Sat Feb 21 07:09:50 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/03 09:53:46 sakamoto Exp $
+$NetBSD: distinfo,v 1.2 2004/02/21 07:09:50 xtraeme Exp $
 
 SHA1 (nbitools-R6.3.tar.gz) = 0f6751417d7ef412be04611fbe4f56386a04322a
 Size (nbitools-R6.3.tar.gz) = 435764 bytes
@@ -8,3 +8,5 @@
 SHA1 (patch-ad) = b0c18505891834182c57819489b7d9890802d550
 SHA1 (patch-ae) = 0a0acf8798055a7b1b292e8d2edf998857641550
 SHA1 (patch-af) = b1efcdea967489a035048fc2e7389ac82b106535
+SHA1 (patch-ag) = a7b49c572db220802bb084e586bc6fe0cae87982
+SHA1 (patch-ah) = ba2e9d00279d44635b2043b642a0407b84329643
diff -r d726724a6037 -r f5d5794ea555 devel/nbitools/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nbitools/patches/patch-ag   Sat Feb 21 07:09:50 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/02/21 07:09:50 xtraeme Exp $
+
+--- config/imake/imake.c.orig  2004-02-21 08:05:07.000000000 +0100
++++ config/imake/imake.c       2004-02-21 08:05:34.000000000 +0100
+@@ -145,7 +145,7 @@
+  *    #include INCLUDE_IMAKEFILE
+  *    <add any global targets like 'clean' and long dependencies>
+  */
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+ /* This needs to be before _POSIX_SOURCE gets defined */
+ # include <sys/param.h>
+ # include <sys/types.h>
diff -r d726724a6037 -r f5d5794ea555 devel/nbitools/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nbitools/patches/patch-ah   Sat Feb 21 07:09:50 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2004/02/21 07:09:50 xtraeme Exp $
+
+--- config/imake/imakemdep.h.orig      2004-02-21 08:06:05.000000000 +0100
++++ config/imake/imakemdep.h   2004-02-21 08:06:50.000000000 +0100
+@@ -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__
++#ifdef __bsdi__ || defined(__APPLE__)
+ #define DEFAULT_CPP "/usr/bin/cpp"
+ #endif
+ #ifdef __uxp__



Home | Main Index | Thread Index | Old Index