summaryrefslogtreecommitdiff
path: root/lang/clisp/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-14 07:44:21 +0000
committerjmc <jmc@pkgsrc.org>2002-03-14 07:44:21 +0000
commit713cf9a1c6b5e4e2d4b06724507e7b2dec24293e (patch)
tree63e057b891075c39a48955327a50faa07c936427 /lang/clisp/Makefile
parenta21faa53fc30fad739f6fc70ef621346e7d25b6d (diff)
downloadpkgsrc-713cf9a1c6b5e4e2d4b06724507e7b2dec24293e.tar.gz
Port to powerpc:
Provide a trampoline implementation that doesn't presume r11 is free (it's not in dynamically linked programs and the ELF ABI says as much but somehow linux managed to avoid this it seems). Use r13 for the time being since while gcc will allocate it, it's the last "local" one allocated so none of the clisp code hits that (nothing needed 17+ local registers in use ever). Update the vacall implementation to match the trampoline calls but otherwise for any assembly use the linux code. Make these changes specific to netbsd, update the test cases so everything works. This now passes all the clisp tests when done/installed.
Diffstat (limited to 'lang/clisp/Makefile')
-rw-r--r--lang/clisp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index 2dcd17a795f..180fdf1383a 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.23 2002/02/21 04:13:20 dillo Exp $
+# $NetBSD: Makefile,v 1.24 2002/03/14 07:44:21 jmc Exp $
DISTNAME= clisp-2.27
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
+PKGVERSION= 1
EXTRACT_SUFX= .tar.bz2
MAINTAINER= mjl@netbsd.org
@@ -24,6 +25,11 @@ LIBTOOL_OVERRIDE+= ${WRKSRC}/callback/trampoline_r/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libiconv/libcharset/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libiconv/libtool ${WRKSRC}/sigsegv/libtool
+post-patch:
+ cp files/tramp-rs6000-netbsd.o ${WRKSRC}/../ffcall/callback/trampoline_r
+ cp files/tramp-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/trampoline_r
+ cp files/vacall-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/vacall_r
+
do-configure:
cd ${WRKSRC}; \
(cd .. ; ${SETENV} ${CONFIGURE_ENV} \