Date: Sun, 28 Apr 2024 07:10:17 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 67dfb32b6e2b - main - biology/ngs-sdk: Attempt to fix build on i386 Message-ID: <202404280710.43S7AH9U081953@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=67dfb32b6e2b08ac632d3b30b6e24d4caa78ce92 commit 67dfb32b6e2b08ac632d3b30b6e24d4caa78ce92 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-04-28 07:07:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-04-28 07:10:02 +0000 biology/ngs-sdk: Attempt to fix build on i386 Reported by: fallout --- .../files/patch-ngs-sdk_setup_konfigure.perl | 26 +++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/biology/ngs-sdk/files/patch-ngs-sdk_setup_konfigure.perl b/biology/ngs-sdk/files/patch-ngs-sdk_setup_konfigure.perl index 5fc8fb532a2c..3d4ce73cdafd 100644 --- a/biology/ngs-sdk/files/patch-ngs-sdk_setup_konfigure.perl +++ b/biology/ngs-sdk/files/patch-ngs-sdk_setup_konfigure.perl @@ -1,6 +1,9 @@ ---- ngs-sdk/setup/konfigure.perl.orig 2021-08-18 16:26:23 UTC +- patch includes removal of '-arch i386' trying to fix build on i386: +- see https://github.com/ncbi/ngs/issues/39 + +--- ngs-sdk/setup/konfigure.perl.orig 2022-11-15 17:37:36 UTC +++ ngs-sdk/setup/konfigure.perl -@@ -225,7 +225,7 @@ if ($OS eq 'linux') { +@@ -225,7 +225,7 @@ println $MARCH unless ($AUTORUN); print "checking machine architecture... " unless ($AUTORUN); println $MARCH unless ($AUTORUN); @@ -9,7 +12,7 @@ println "configure: error: unsupported architecture '$OSTYPE':'$MARCH'"; exit 1; } -@@ -312,6 +312,8 @@ my $BITS; +@@ -312,6 +312,8 @@ if ($MARCH =~ /x86_64/i) { if ($MARCH =~ /x86_64/i) { $BITS = 64; @@ -35,3 +38,20 @@ } elsif ($OSTYPE =~ /darwin/i) { $LPFX = 'lib'; $OBJX = 'o'; +@@ -386,14 +398,14 @@ if ($TOOLS =~ /gcc$/) { + my $versionMin = '-mmacosx-version-min=10.10'; + $CP = "$CPP -c $versionMin"; + if ($BITS ne '32_64') { +- $ARCH_FL = '-arch i386' if ($BITS == 32); ++ $ARCH_FL = '' if ($BITS == 32); + $OPT = '-O3'; + $AR = 'ar rc'; + $LD = "clang $ARCH_FL"; + $LP = "$CPP $versionMin $ARCH_FL"; + } else { + $MAKE_MANIFEST = '( echo "$^" > $@/manifest )'; +- $ARCH_FL = '-arch i386 -arch x86_64'; ++ $ARCH_FL = '-arch x86_64'; + $OPT = '-O3'; + $AR = 'libtool -static -o'; + $LD = "clang -Wl,-arch_multiple $ARCH_FL -Wl,-all_load";
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404280710.43S7AH9U081953>