summaryrefslogtreecommitdiff
path: root/devel/ffcall/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-06 23:50:51 +0000
committerjmc <jmc@pkgsrc.org>2003-03-06 23:50:51 +0000
commit6ba2042c871c142698f588a60deea8ce118babc2 (patch)
tree09c08c8a3b162d7625eaf8bd4f1cd77b3b9cb2dd /devel/ffcall/Makefile
parent4172cf6d8b4efb288ac8c920d9ef8fcf0ea50a8e (diff)
downloadpkgsrc-6ba2042c871c142698f588a60deea8ce118babc2.tar.gz
Port this to powerpc. Already did it once based on lang/clisp including this
code so base the port off of those patches. Passes all tests via make check
Diffstat (limited to 'devel/ffcall/Makefile')
-rw-r--r--devel/ffcall/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/devel/ffcall/Makefile b/devel/ffcall/Makefile
index d9d02765e99..2ec64502729 100644
--- a/devel/ffcall/Makefile
+++ b/devel/ffcall/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/10/10 08:23:05 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2003/03/06 23:50:51 jmc Exp $
DISTNAME= ffcall-1.8d
PKGNAME= ffcall-1.8.4
@@ -11,9 +11,19 @@ COMMENT= foreign function call libraries
# the file ${WRKDIR}/ffcall-1.8/avcall/avcall-${MACHINE_ARCH}.c needs to
# be added for additional port support.
-ONLY_FOR_PLATFORM= *-*-alpha *-*-arm *-*-i386 *-*-m68k *-*-sparc *-*-sparc64
+ONLY_FOR_PLATFORM= *-*-alpha *-*-arm *-*-i386 *-*-m68k *-*-sparc *-*-sparc64 *-*-powerpc
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
+post-patch:
+ ${CP} files/tramp-rs6000-netbsd.s ${WRKSRC}/callback/trampoline_r
+ ${CP} files/vacall-rs6000-netbsd.s ${WRKSRC}/callback/vacall_r
+
+#
+# Run the supplied tests to sanity check everything
+#
+post-build:
+ cd ${WRKSRC} && ${MAKE} check
+
.include "../../mk/bsd.pkg.mk"