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
This commit is contained in:
Michael Lotz
2018-04-03 08:54:19 +02:00
parent e84a865d9c
commit 550ed638db

View File

@@ -11,7 +11,7 @@ CHECKSUM_SHA256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc6
SOURCE_DIR="Alien-SVN-v$portVersion"
PATCHES="alien_svn-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
alien_svn = $portVersion
@@ -39,6 +39,7 @@ BUILD_PREREQUIRES="
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