[cl-debian] Bug#377042: ecl: FTBFS on GNU/kFreeBSD
Petr Salinger
Petr.Salinger at seznam.cz
Thu Jul 6 10:35:28 UTC 2006
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
-------------- next part --------------
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}" ???
+ ;;
More information about the Cl-debian
mailing list