2017-08-01 16:58:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2017/08/01 14:58:56 wiz Exp $
|
1999-08-26 21:54:15 +02:00
|
|
|
|
2004-06-04 10:16:53 +02:00
|
|
|
DISTNAME= ffcall-1.10
|
2016-08-26 19:25:08 +02:00
|
|
|
PKGREVISION= 4
|
1999-08-26 21:54:15 +02:00
|
|
|
CATEGORIES= devel
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://www.haible.de/bruno/gnu/
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_GNUSTEP:=libs/}
|
1999-08-26 21:54:15 +02:00
|
|
|
|
2004-03-02 17:05:01 +01:00
|
|
|
MAINTAINER= adam@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.haible.de/bruno/packages-ffcall.html
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Foreign function call libraries
|
2014-04-08 06:19:16 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
1999-08-26 21:54:15 +02:00
|
|
|
|
2008-09-22 02:08:55 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2008-06-12 04:14:13 +02:00
|
|
|
|
2004-03-02 17:05:01 +01:00
|
|
|
# the file ${WRKSRC}/avcall/avcall-${MACHINE_ARCH}.c needs to
|
2000-07-24 23:39:14 +02:00
|
|
|
# be added for additional port support.
|
2015-01-04 05:58:47 +01:00
|
|
|
BROKEN_EXCEPT_ON_PLATFORM= \
|
|
|
|
*-*-alpha *-*-arm *-*-convex *-*-hppa *-*-i386 \
|
2004-11-08 15:05:21 +01:00
|
|
|
*-*-ia64 *-*-m68k *-*-m88k *-*-mips *-*-mipsel \
|
|
|
|
*-*-mipseb *-*-mips64 *-*-mipsn32 \
|
|
|
|
*-*-powerpc *-*-rs6000 \
|
|
|
|
*-*-s390 *-*-sparc *-*-sparc64 \
|
|
|
|
*-*-x86_64
|
2004-03-02 17:05:01 +01:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-05-03 18:33:45 +02:00
|
|
|
|
2003-05-11 09:12:49 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
|
2004-05-03 18:33:45 +02:00
|
|
|
MAKE_FLAGS+= htmldir=${PREFIX}/share/doc/ffcall
|
|
|
|
|
2003-03-07 00:50:51 +01:00
|
|
|
post-patch:
|
2004-03-02 17:05:01 +01:00
|
|
|
${CP} ${FILESDIR}/tramp-rs6000-netbsd.s ${WRKSRC}/callback/trampoline_r
|
|
|
|
${CP} ${FILESDIR}/vacall-rs6000-netbsd.s ${WRKSRC}/callback/vacall_r
|
2003-03-07 00:50:51 +01:00
|
|
|
|
2007-06-18 04:56:05 +02:00
|
|
|
TEST_TARGET= check
|
2003-03-07 00:50:51 +01:00
|
|
|
|
1999-08-26 21:54:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|