Date: Tue, 15 Apr 2003 02:40:59 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 134 ************************************************** Monday 14 April 2003 Number 134 ************************************************** Subjects for today 1 Proposed patch for m4 : John Poltorak 2 MAME : John Poltorak 3 Re: M4 build problem : John Poltorak 4 Proposedpatch for termcap : John Poltorak 5 Building GNU Find : John Poltorak 6 EMX symlink() support : Andrew Belov" 7 Re: Proposed patch for m4 : Andreas Buening **= Email 1 ==========================** Date: Tue, 15 Apr 2003 09:24:58 +0100 From: John Poltorak Subject: Proposed patch for m4 I'm propsing to add this patch to m4:- --- old/m4-1.4/Makefile.in Sat Nov 5 23:19:52 1994 +++ gnu/m4-1.4/Makefile.in Mon Apr 14 15:04:40 2003 at at -41,7 +41,7 at at prefix = at prefix at exec_prefix = at exec_prefix at bindir = $(exec_prefix)/bin -infodir = $(prefix)/info +infodir = at infodir at MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \ prefix='$(prefix)' exec_prefix='$(exec_prefix)' \ All it does is allow configure to accept the '--infodir=' option which means that the m4 info files can get installed in the 'correct' place according to FHS. Does this seem OK? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 15 Apr 2003 11:00:55 +0100 From: John Poltorak Subject: MAME I know MAME isn't a Unix app, but it is open source and can be built with gcc, so I wondered if it could be built using UX2BS... Anyone know where to get the source? Does it need any OS/2 patches to be applied? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 15 Apr 2003 12:22:55 +0100 From: John Poltorak Subject: Re: M4 build problem On Mon, Apr 14, 2003 at 11:35:34PM +0200, Andreas Buening wrote: > John Poltorak wrote: > > > > On Thu, Apr 10, 2003 at 10:43:05PM +0200, Andreas Buening wrote: > > [snip] > > > > You can use "make AR=emxomfar". Variables on the make command > > > line overwrite those from the Makefiles. Or you can set > > > AR = at AR at > > > in your Makefile.in. I've changed m4's lib\Makefile.in so that it includes AR = at AR at and have updated CONFIG.SITE to include:- AR=emxomfar but I get this error when building m4:- making all in lib make[1]: Entering directory `U:/unixos2/workdir/m4-1.4/lib' gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ getopt.c gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ getopt1.c gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ error.c gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ obstack.c gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ xmalloc.c gcc -c -DHAVE_CONFIG_H -I.. -I. -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ xstrdup.c rm -f libm4.a /bin/sh: AR at : No such file or directory make[1]: *** [libm4.a] Error 1 What have I overlooked? > > I've been looking at the build of SED (v3.02) where I also use > > "make AR=emxomfar", but there is no reference to AR in either Makefile or > > Makefile.in. > > It's not used in every Makefile. Look at lib/Makefile.in. SED comes with a Makefile.am... Do I need to update this file with:- ? AR = at AR at > > Bye, > Andreas > > -- > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Mordor where the Shadows lie. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 15 Apr 2003 14:58:33 +0100 From: John Poltorak Subject: Proposedpatch for termcap I'm proposing to add this patch for termcap:- --- Makefile.in~ Thu Aug 17 01:54:28 1995 +++ Makefile.in Tue Apr 15 14:43:18 2003 at at -49,7 +49,7 at at oldincludedir = /usr/include # Directory in which to install the documentation info files. -infodir = $(prefix)/info +infodir = at infodir at # File to which `install-data' should install the data file # if --enable-install-termcap was given. This is just to ensure that the info files get installed in the correct directory as specified by '--infodir=' when running configure. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 15 Apr 2003 15:34:16 +0100 From: John Poltorak Subject: Building GNU Find Has anyone tried building GNU Find using UX2BS? I don't think the program has been updated since KUR's port many years ago, but I'm wondering if all the patches used in the port are required any more... Can anyone take a look at the patches and see if any can be removed? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 15 Apr 2003 20:38:28 +0300 (MSK) From: "Andrew Belov" Subject: EMX symlink() support This package gives an idea: what if we standardize on the "SYMLINK" EA rather than "SOFTLINK"? "SYMLINK", "UID", "GID", "MODE" and "DEV" are the EAs used by Linux v 2.4 HPFS driver - this way it would be much easier to integrate OS/2 with Linux by having some common parts (e.g. /usr, maybe /etc) installed on an HPFS partition. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 15 Apr 2003 22:32:17 +0200 From: Andreas Buening Subject: Re: Proposed patch for m4 John Poltorak wrote: > > I'm propsing to add this patch to m4:- > > --- old/m4-1.4/Makefile.in Sat Nov 5 23:19:52 1994 > +++ gnu/m4-1.4/Makefile.in Mon Apr 14 15:04:40 2003 > at at -41,7 +41,7 at at > prefix = at prefix at > exec_prefix = at exec_prefix at > bindir = $(exec_prefix)/bin > -infodir = $(prefix)/info > +infodir = at infodir at > > MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \ > prefix='$(prefix)' exec_prefix='$(exec_prefix)' \ > > All it does is allow configure to accept the '--infodir=' option which > means that the m4 info files can get installed in the 'correct' place > according to FHS. > > Does this seem OK? Yes. And the same for bindir and maybe other dirs. The only clean way to do this would be to switch to automake. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs