| Summary: | bigloo should provide an option to build the Bee | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marijn Schouten (RETIRED) <hkbst> |
| Component: | Current packages | Assignee: | Scheme Project <scheme> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cyprien, pchrist |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo-6.html#Integrated-Programming-Environment | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
make compile-bee no longer exits on error if ran just after make
patch for bigloo-3.2b_p2.ebuild patch for bdb's Makefile |
||
|
Description
Marijn Schouten (RETIRED)
2007-06-22 16:09:19 UTC
Created attachment 181175 [details, diff]
make compile-bee no longer exits on error if ran just after make
Hello, I have made a patch for bigloo sources that correct the BFLAGS used in the makefiles used by the compile-bee target.
It can be applied on Bigloo from 3.1a, 3.1b, 3.2a, 3.2a-2 (no ebuild exist for this version) and the upstream 3.2b-alpha.
It makes possible to run make compile-bee after make compile, which allow now the fullbee flag for bigloo to work correctly.
I didn't make patches for the ebuild, as I don't really understand the emacs flag's code.
Hope that helps to have fullbee with bigloo in gentoo. :)
Thanks Cyprien, I read on the list that Manuel accepted your patch. I'll try to add new ebuilds soon. I have added 3.2a_p2 even though the diff seems substanceless:
$ diff -ur /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/ /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/
diff -ur /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/configure /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/configure
--- /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/configure 2009-01-06 18:38:46.000000000 +0100
+++ /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/configure 2009-01-14 17:49:32.000000000 +0100
@@ -1,10 +1,10 @@
#!/bin/sh
#*=====================================================================*/
-#* serrano/prgm/project/bigloo/configure */
+#* serrano/prgm/distrib/bigloo3.2a/configure */
#* ------------------------------------------------------------- */
#* Author : Manuel Serrano */
#* Creation : Tue Jan 25 16:05:10 1994 */
-#* Last change : Tue Jan 6 17:42:40 2009 (serrano) */
+#* Last change : Wed Jan 14 17:49:32 2009 (serrano) */
#* Copyright : 1994-2009 Manuel Serrano, see LICENSE file */
#* ------------------------------------------------------------- */
#* The Bigloo configuration file */
@@ -53,10 +53,8 @@
bflags="-O3 -q"
bootflags=""
featureflags=
-coflags=
-if [ "$CFLAGS " != " " ]; then
- coflags="-O3"
-fi
+coflags=-O3
+
cstrip="-s"
cpicflags="demanded" # Possible values for cpicflags are:
# - "no" not to use position independent code (recommended)
the BEE won't compile for me yet, working with upstream. the bee compiles, but I'm not sure how to invoke it yet. I upload here a patch to bigloo-3.2b_p2.ebuild, and a patch to bdb's Makefile.
The first patch fixes some building issues, and applies the second patch.
And the latest fixes some installation problems, as $(DESTDIR) is appended in every variable except FILDIR and BINDIR, things like $(DESTDIR)$(LIBDIR) cause QA problems in portage as it tries to install in ${D}/${D}
More info on this latest issue:
Bigloo's Changelog:
*** !!! Important !!!: FILDIR is now relative to LIBDIR in
Makefile.config. It used to be an absolute path, it is now relative.
In consequence, former use of $(FILDIR) must now be replaced with
$(LIBDIR)/$(FILDIR). $(DESTDIR)$(FILDIR) must also be replaced
with $(LIBDIR)/$(FILDIR) (since LIBDIR contains DESTDIR in its
definition).
Bigloo's configure script:
# Directories
echo "DESTDIR=" >> $makefile_cfg
echo "BINDIR=$bindir" >> $makefile_cfg
echo 'LIBDIR=$(DESTDIR)'"$libdir" >> $makefile_cfg
echo "FILDIR=$fildir" >> $makefile_cfg
echo 'ZIPDIR=$(DESTDIR)'"$zipdir" >> $makefile_cfg
echo 'SYSZIPDIR=$(DESTDIR)'"$syszipdir" >> $makefile_cfg
echo 'DLLDIR=$(DESTDIR)'"$dlldir" >> $makefile_cfg
echo 'SYSDLLDIR=$(DESTDIR)'"$sysdlldir" >> $makefile_cfg
echo 'MANDIR=$(DESTDIR)'"$mandir" >> $makefile_cfg
echo 'INFODIR=$(DESTDIR)'"$infodir" >> $makefile_cfg
echo 'DOCDIR=$(DESTDIR)'"$docdir" >> $makefile_cfg
echo "TMP=$tmp" >> $makefile_cfg
echo >> $makefile_cfg
Created attachment 203748 [details, diff]
patch for bigloo-3.2b_p2.ebuild
Created attachment 203750 [details, diff]
patch for bdb's Makefile
bigloo-3.4a takes care of installing bee properly and a lot more already. This is no longer an issue. |