Fri Feb 28 13:20:10 2020 UTC ()
libffi: Restrict perl to SunOS, as requested by joerg.


(jperkin)
diff -r1.37 -r1.38 pkgsrc/devel/libffi/Makefile

cvs diff -r1.37 -r1.38 pkgsrc/devel/libffi/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libffi/Makefile 2020/02/27 14:55:02 1.37
+++ pkgsrc/devel/libffi/Makefile 2020/02/28 13:20:10 1.38
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: Makefile,v 1.37 2020/02/27 14:55:02 adam Exp $ 1# $NetBSD: Makefile,v 1.38 2020/02/28 13:20:10 jperkin Exp $
2 2
3DISTNAME= libffi-3.3 3DISTNAME= libffi-3.3
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ftp://sourceware.org/pub/libffi/ 5MASTER_SITES= ftp://sourceware.org/pub/libffi/
6 6
7MAINTAINER= asau@inbox.ru 7MAINTAINER= asau@inbox.ru
8HOMEPAGE= https://www.sourceware.org/libffi/ 8HOMEPAGE= https://www.sourceware.org/libffi/
9COMMENT= Foreign function interface 9COMMENT= Foreign function interface
10LICENSE= mit 10LICENSE= mit
11 11
12USE_LANGUAGES= c c++ 12USE_LANGUAGES= c c++
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_TOOLS+= gmake perl pkg-config 14USE_TOOLS+= gmake pkg-config
 15USE_TOOLS.SunOS+= perl
15GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
16CONFIGURE_ARGS+= --disable-multi-os-directory 17CONFIGURE_ARGS+= --disable-multi-os-directory
17CONFIGURE_ARGS+= --includedir=${PREFIX}/include 18CONFIGURE_ARGS+= --includedir=${PREFIX}/include
18PKGCONFIG_OVERRIDE+= libffi.pc.in 19PKGCONFIG_OVERRIDE+= libffi.pc.in
19INFO_FILES= yes 20INFO_FILES= yes
20TEST_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu 21TEST_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
21TEST_TARGET= check 22TEST_TARGET= check
22 23
23.include "../../mk/compiler.mk" 24.include "../../mk/compiler.mk"
24# The Compaq C frontend groks .s, but not .S. Assemble osf.S directly w/ as(1). 25# The Compaq C frontend groks .s, but not .S. Assemble osf.S directly w/ as(1).
25pre-build: 26pre-build:
26.if !empty(PKGSRC_COMPILER:Mccc) 27.if !empty(PKGSRC_COMPILER:Mccc)
27 cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.lo -c src/alpha/osf.S 28 cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.lo -c src/alpha/osf.S