Mon May 18 05:09:50 2020 UTC ()
devel/swig2: suppress USE_TOOLS+=perl warning


(rillig)
diff -r1.13 -r1.14 pkgsrc/devel/swig2/Makefile

cvs diff -r1.13 -r1.14 pkgsrc/devel/swig2/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/swig2/Makefile 2020/05/10 18:31:20 1.13
+++ pkgsrc/devel/swig2/Makefile 2020/05/18 05:09:50 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.13 2020/05/10 18:31:20 rillig Exp $ 1# $NetBSD: Makefile,v 1.14 2020/05/18 05:09:50 rillig Exp $
2 2
3DISTNAME= swig-2.0.12 3DISTNAME= swig-2.0.12
4PKGNAME= ${DISTNAME:S/swig-/swig2-/} 4PKGNAME= ${DISTNAME:S/swig-/swig2-/}
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= devel 6CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
8 8
9MAINTAINER= bacon@NetBSD.org 9MAINTAINER= bacon@NetBSD.org
10HOMEPAGE= http://www.swig.org/ 10HOMEPAGE= http://www.swig.org/
11COMMENT= Simplified Wrapper and Interface Generator (version 2) 11COMMENT= Simplified Wrapper and Interface Generator (version 2)
12LICENSE= 2-clause-bsd 12LICENSE= 2-clause-bsd
13 13
14CONFLICTS= swig-build-[0-9]* 14CONFLICTS= swig-build-[0-9]*
@@ -29,26 +29,27 @@ CONFLICTS= swig-build-[0-9]* @@ -29,26 +29,27 @@ CONFLICTS= swig-build-[0-9]*
29# FindSWIG, installed by cmake, looks for executable named swig2.0, then swig 29# FindSWIG, installed by cmake, looks for executable named swig2.0, then swig
30# bin/swig2.0 is the standard used by other OS's 30# bin/swig2.0 is the standard used by other OS's
31# http://packages.debian.org/sid/i386/swig2.0/filelist 31# http://packages.debian.org/sid/i386/swig2.0/filelist
32# http://svnweb.freebsd.org/ports/head/devel/swig20/pkg-plist?revision=306553&view=markup 32# http://svnweb.freebsd.org/ports/head/devel/swig20/pkg-plist?revision=306553&view=markup
33 33
34# Keep the path from changing due to minor version bumps. 34# Keep the path from changing due to minor version bumps.
35CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \ 35CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \
36 --program-suffix=2.0 36 --program-suffix=2.0
37BUILD_TARGET= swig 37BUILD_TARGET= swig
38 38
39USE_LANGUAGES= c c++ 39USE_LANGUAGES= c c++
40USE_LIBTOOL= yes 40USE_LIBTOOL= yes
41USE_TOOLS+= gmake pax 41USE_TOOLS+= gmake pax
 42TOOLS_BROKEN+= perl
42GNU_CONFIGURE= yes 43GNU_CONFIGURE= yes
43GNU_CONFIGURE_STRICT= no # has sub-configures 44GNU_CONFIGURE_STRICT= no # has sub-configures
44 45
45INSTALLATION_DIRS+= share/doc/swig/2.0 share/examples/swig/2.0 46INSTALLATION_DIRS+= share/doc/swig/2.0 share/examples/swig/2.0
46 47
47CHECK_INTERPRETER_SKIP+= share/examples/swig/* 48CHECK_INTERPRETER_SKIP+= share/examples/swig/*
48CHECK_WRKREF_SKIP+= share/examples/swig/* 49CHECK_WRKREF_SKIP+= share/examples/swig/*
49 50
50# configure fails to generate this on NetBSD 51# configure fails to generate this on NetBSD
51LDFLAGS+= -lpcre 52LDFLAGS+= -lpcre
52 53
53TEST_TARGET= check 54TEST_TARGET= check
54# Tests require lots of other dependencies. There should be a better 55# Tests require lots of other dependencies. There should be a better