On 12/10/2014 5:06 PM, Christian Kellermann wrote:
Hi Marco,
thanks for all your help so far. Could I ask for one more try?
please do a make PLATFORM=cygwin confclean or start from scratch and add
HACK_APPLY=0
not exactly, it need
HACKED_APPLY=
to the make options.
Does this compile succeed? Does a make check work then?
We already do this for the mingw "platform", so we should also add
it to cygwin in the 64bit case for now.
Thanks for all your patience! If this succeeds I will send out a
"final" cleaned up version tomorrow and ask for a GTG again.
Kind regards,
Christian
I will send you privately the build and check logs.
Likely tomorrow.
Attached latest cygport
Regards
--- origsrc/chicken-4.9.0.1/Makefile.cygwin 2014-06-07 14:24:41.000000000
+0200
+++ src/chicken-4.9.0.1/Makefile.cygwin 2014-12-10 17:37:23.693609000 +0100
@@ -123,7 +123,7 @@ endif
ifdef SYMBOLGC
echo "#define C_COLLECT_ALL_SYMBOLS" >>$@
endif
-ifdef HACKED_APPLY
+ifneq ($(HACKED_APPLY),)
echo "#define C_HACKED_APPLY" >>$@
endif
cat chicken-defaults.h >>$@
# package name
NAME="chicken"
VERSION=4.9.0.1
RELEASE=1
# setup.hint generation
CATEGORY="interpreters"
SUMMARY="A practical and portable scheme system."
DESCRIPTION="A practical and portable scheme system.
CHICKEN is a compiler for the Scheme programming language. CHICKEN
produces portable and efficient C, supports almost all of the R5RS
Scheme language standard, and includes many enhancements and
extensions."
REQUIRES="make gcc-core gcc-g++"
# source and patch files
SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
MAKEOPTS="PLATFORM=cygwin"
src_compile() {
lndirs
cd ${B}
AR=$(arch)
if [ $AR = "i686" ]
then
cygmake ARCH="x86"
elif [ $AR = "x86_64" ]
then
cygmake ARCH="x86-64" HACKED_APPLY=
else
ECHO "Unknown Architecture"
fi
}
src_install() {
cd ${B}
AR=$(arch)
if [ $AR = "i686" ]
then
cyginstall PREFIX=/usr ARCH="x86"
elif [ $AR = "x86_64" ]
then
cyginstall PREFIX=/usr ARCH="x86-64" HACKED_APPLY=
else
ECHO "Unknown Architecture"
fi
}
src_test() {
cd ${B}
AR=$(arch)
if [ $AR = "i686" ]
then
cygmake check PREFIX=/usr ARCH="x86"
elif [ $AR = "x86_64" ]
then
cygmake check PREFIX=/usr ARCH="x86-64" HACKED_APPLY=
else
ECHO "Unknown Architecture"
fi
}