Files
haikuports/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe
Michael Lotz 550ed638db alien_svn: Fix build on gcc >= 5, enable on x86_64.
In GCC5 the preprocessor changed the format of its line number output,
breaking the alien_svn build. Until this is fixed upstream, work around
the issue by disabling preprocessor line numbering.

The absence of alien_svn made the git_svn subpackage uninstallable on
x86_64.

See "Preprocessor issues" in: https://gcc.gnu.org/gcc-5/porting_to.html
2018-04-03 08:56:24 +02:00

52 lines
1.1 KiB
Bash

SUMMARY="Core module of the subversion perl bindings"
DESCRIPTION="SVN::Core implements higher level functions of fundamental \
subversion functions."
HOMEPAGE="http://search.cpan.org/dist/Alien-SVN/"
REVISION="2"
COPYRIGHT="2010-2015 Apache Software Foundation"
LICENSE="Artistic"
SOURCE_URI="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Alien-SVN-v$portVersion.tar.gz"
CHECKSUM_SHA256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc68"
SOURCE_DIR="Alien-SVN-v$portVersion"
PATCHES="alien_svn-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
alien_svn = $portVersion
"
BUILD_REQUIRES="
devel:libapr_1
devel:libaprutil_1
devel:libexpat
devel:libsqlite3
devel:libz
lib:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
module_build
cmd:awk
cmd:gcc
cmd:make
cmd:perl >= 5.26
cmd:python
"
BUILD()
{
export CFLAGS=-O0
export CPPFLAGS=-P
export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
}