diff --git a/dev-lang/swig/swig-4.0.0.recipe b/dev-lang/swig/swig-4.0.2.recipe similarity index 83% rename from dev-lang/swig/swig-4.0.0.recipe rename to dev-lang/swig/swig-4.0.2.recipe index 5e0746c79..9268a28c2 100644 --- a/dev-lang/swig/swig-4.0.0.recipe +++ b/dev-lang/swig/swig-4.0.2.recipe @@ -18,32 +18,32 @@ HOMEPAGE="http://www.swig.org/" COPYRIGHT="1995-1998 University of Utah and the Regents of the University of California 1998-2005 University of Chicago 2005-2006 Arizona Board of Regents (University of Arizona) - 1995-2017 The SWIG Developers" + 1995-2020 The SWIG Developers" LICENSE="SWIG" REVISION="1" SOURCE_URI="http://sourceforge.net/projects/swig/files/swig/swig-$portVersion/swig-$portVersion.tar.gz" -CHECKSUM_SHA256="e8a39cd6437e342cdcbd5af27a9bf11b62dc9efec9248065debcb8276fcbb925" +CHECKSUM_SHA256="d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc" -ARCHITECTURES="x86 ?x86_gcc2 x86_64" +ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" - swig${secondaryArchSuffix} = $portVersion - cmd:ccache_swig$secondaryArchSuffix = $portVersion - cmd:swig$secondaryArchSuffix = $portVersion compat >= 4 + swig$secondaryArchSuffix = $portVersion + cmd:ccache_swig = $portVersion + cmd:swig = $portVersion compat >= 4 " REQUIRES=" - haiku${secondaryArchSuffix} + haiku$secondaryArchSuffix lib:libpcre$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel devel:libpcre$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:bison cmd:g++$secondaryArchSuffix cmd:gcc$secondaryArchSuffix @@ -54,7 +54,9 @@ BUILD_PREREQUIRES=" BUILD() { - runConfigure ./configure + export LDFLAGS="-lnetwork" + runConfigure --omit-dirs binDir ./configure \ + --bindir=$prefix/bin make $jobArgs } @@ -62,3 +64,8 @@ INSTALL() { make install } + +TEST() +{ + make check +}