summaryrefslogtreecommitdiff
path: root/devel/ffcall/Makefile
diff options
context:
space:
mode:
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"