Package: ecl
Severity: important
Version: 0.9i-1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs to add recognition of GNU/kFreeBSD
and updated garbage collector.

For recognition, please use attached patch
for src/aclocal.m4 and regenerate src/configure.

For garbage collector please  pass "--enable-boehm=system" to configure,
package already depends on libgc-dev.
Alternatively you can apply patch from #366864 to src/gc/ subdir,
and "relibtoolize" src/gc/ subdir.

It would also be nice if you can ask ecl upstream
to include this changes.

Thanks in advance

                        Petr
diff -u ecl-0.9i/src/aclocal.m4 ecl-0.9i/src/aclocal.m4
--- ecl-0.9i/src/aclocal.m4
+++ ecl-0.9i/src/aclocal.m4
@@ -198,0 +199,10 @@
+       kfreebsd*-gnu)
+               thehost='kfreebsd'
+               THREAD_CFLAGS='-D_THREAD_SAFE'
+               THREAD_LIBS='-lpthread'
+               SHARED_LDFLAGS="-shared ${LDFLAGS}"
+               BUNDLE_LDFLAGS="-shared ${LDFLAGS}"
+               LDRPATH='-Wl,--rpath,/usr/lib/ecl/'
+               clibs="-ldl"
+               # Maybe CFLAGS="-D_ISOC99_SOURCE ${CFLAGS}" ???
+               ;;

Reply via email to