blob: 89cf6e91d14f10e69263b6724485dc6dfd2df5ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.9 2009/02/21 15:51:35 asau Exp $
#
DISTNAME= libffi-3.0.8
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://sources.redhat.com/libffi/
COMMENT= Foreign function interface
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
INFO_FILES= # PLIST
PKGCONFIG_OVERRIDE+= libffi.pc.in
# Since we don't have "TEST_DEPENDS", we implement it as a hack:
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
TEST_TARGET= check
BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
.endif
.include "../../mk/bsd.pkg.mk"
|