pkgsrc-Users archive

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

Re: the jam build system and Ingres database



On Sun, 6 Feb 2011 11:36:43 -0500
matthew sporleder <msporleder%gmail.com@localhost> wrote:

> The first hurdle is getting past jam, which is in pkgsrc, but it looks
> like we need to build out Jamdef's for NetBSD:
> http://code.ingres.com/ingres/main/src/tools/port/jam/

What sort of trouble are you having, Matt?  

$ jam -v
FT-Jam 2.5.2. OS=NETBSD. (C) 1993-2003 Christopher Seiwald, see 
www.freetype.org/jam/

As a simple experiment, I built ingres-10.1.0-112-gpl-src/pax with that (after 
modifying the Jamfile):

$ jam
..found 211 target(s)...
..updating 21 target(s)...
Cc ar_io.o 
Cc ar_subs.o 
Cc buf_subs.o 
Cc cache.o 
Cc cpio.o 
Cc file_subs.o 
Cc ftree.o 
Cc gen_subs.o 
In file included from gen_subs.c:56:
bsd/vis.h:79: warning: '__bounded__' attribute directive ignored
bsd/vis.h:81: warning: '__bounded__' attribute directive ignored
Cc getoldopt.o 
Cc options.o 
Cc pat_rep.o 
Cc pax.o 
Cc sel_subs.o 
Cc tables.o 
Cc tar.o 
Cc tty_subs.o 
Cc bsd/fts.o 
Cc bsd/strlcpy.o 
Cc bsd/strmode.o 
Cc bsd/vis.o 
In file included from bsd/vis.c:38:
bsd/vis.h:79: warning: '__bounded__' attribute directive ignored
bsd/vis.h:81: warning: '__bounded__' attribute directive ignored
Link bin/pax 
Chmod1 bin/pax 
..updated 21 target(s)...

$ tar -xzf ../../ingres-10.1.0-112-gpl-src.tgz -O 
ingres-10.1.0-112-gpl-src/pax/Jamfile   | diff -u - Jamfile 
--- -   2011-02-08 22:23:39.000000000 -0500
+++ Jamfile     2011-02-06 14:43:27.000000000 -0500
@@ -14,6 +14,9 @@
    case LINUXX86 :  PAXCCFLAGS = -Ibsd -O2 -D_PATH_DEFTAPE='\"/dev/st0\"' 
                                -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ;
                    PAXLDFLAGS = -s ;
+   case NETBSD   :  PAXCCFLAGS = -Ibsd -O2 -D_PATH_DEFTAPE='\"/dev/st0\"' 
+                               -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD ;
+                   PAXLDFLAGS = -s ;
         case  * : EXIT $(OSFULL) not supported ;
 }

--jkl


Home | Main Index | Thread Index | Old Index