View | Details | Raw Unified | Return to bug 282272
Collapse All | Expand All

(-)b/archivers/snappy-java/Makefile (-3 / +2 lines)
Lines 21-29 WWW= https://github.com/xerial/snappy-java Link Here
21
21
22
LICENSE=	APACHE20
22
LICENSE=	APACHE20
23
23
24
BROKEN_armv6=	fails to build: maven-assembly-plugin: Failed to retrieve numeric file attributes
25
BROKEN_armv7=	fails to build: maven-assembly-plugin: Failed to retrieve numeric file attributes
26
27
BUILD_DEPENDS=	cmake:devel/cmake-core \
24
BUILD_DEPENDS=	cmake:devel/cmake-core \
28
		sbt:devel/sbt
25
		sbt:devel/sbt
29
26
Lines 75-80 PLATFORM_DIR_SUFFIX= FreeBSD-x86_64 Link Here
75
PLATFORM_DIR_SUFFIX=	FreeBSD-x86
72
PLATFORM_DIR_SUFFIX=	FreeBSD-x86
76
. elif ${ARCH} == aarch64
73
. elif ${ARCH} == aarch64
77
PLATFORM_DIR_SUFFIX=	FreeBSD-aarch64
74
PLATFORM_DIR_SUFFIX=	FreeBSD-aarch64
75
. elif ${ARCH} == armv6 || ${ARCH} == armv7
76
PLATFORM_DIR_SUFFIX=	FreeBSD-arm
78
. elif ${ARCH} == powerpc64
77
. elif ${ARCH} == powerpc64
79
PLATFORM_DIR_SUFFIX=	FreeBSD-ppc64
78
PLATFORM_DIR_SUFFIX=	FreeBSD-ppc64
80
. elif ${ARCH} == powerpc64le
79
. elif ${ARCH} == powerpc64le
(-)b/archivers/snappy-java/files/patch-Makefile.common (-3 / +10 lines)
Lines 1-6 Link Here
1
--- Makefile.common.orig	2023-09-27 02:22:20 UTC
1
--- Makefile.common.orig	2023-09-27 02:22:20 UTC
2
+++ Makefile.common
2
+++ Makefile.common
3
@@ -29,8 +29,13 @@ IBM_JDK_LIB := lib/inc_ibm
3
@@ -29,8 +29,13 @@ else
4
 ifeq ($(OS_NAME),Mac)
4
 ifeq ($(OS_NAME),Mac)
5
 ENDIANESS:="Little Endian"
5
 ENDIANESS:="Little Endian"
6
 else
6
 else
Lines 20-30 Link Here
20
 
20
 
21
 # To support new CPU architecture, add a new target name here
21
 # To support new CPU architecture, add a new target name here
22
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64
22
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64
23
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-aarch64 FreeBSD-ppc64 FreeBSD-ppc64le FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64
23
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-arm FreeBSD-aarch64 FreeBSD-ppc64 FreeBSD-ppc64le FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64
24
 os_arch := $(OS_NAME)-$(OS_ARCH)
24
 os_arch := $(OS_NAME)-$(OS_ARCH)
25
 IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7"))
25
 IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7"))
26
 
26
 
27
@@ -262,6 +267,34 @@ Mac-x86_64_CXXFLAGS  := -Ilib/inc_mac -I$(JAVA_HOME)/i
27
@@ -262,6 +267,41 @@ Mac-x86_64_SNAPPY_FLAGS  :=
28
 Mac-x86_64_LINKFLAGS := -dynamiclib
28
 Mac-x86_64_LINKFLAGS := -dynamiclib
29
 Mac-x86_64_LIBNAME   := libsnappyjava.dylib
29
 Mac-x86_64_LIBNAME   := libsnappyjava.dylib
30
 Mac-x86_64_SNAPPY_FLAGS  :=
30
 Mac-x86_64_SNAPPY_FLAGS  :=
Lines 36-41 Link Here
36
+FreeBSD-aarch64_LIBNAME      := libsnappyjava.so
36
+FreeBSD-aarch64_LIBNAME      := libsnappyjava.so
37
+FreeBSD-aarch64_SNAPPY_FLAGS :=
37
+FreeBSD-aarch64_SNAPPY_FLAGS :=
38
+
38
+
39
+FreeBSD-arm_CXX          := $(CROSS_PREFIX)g++
40
+FreeBSD-arm_STRIP        := $(CROSS_PREFIX)strip
41
+FreeBSD-arm_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
42
+FreeBSD-arm_LINKFLAGS    := -shared -static-libgcc
43
+FreeBSD-arm_LIBNAME      := libsnappyjava.so
44
+FreeBSD-arm_SNAPPY_FLAGS :=
45
+
39
+FreeBSD-ppc64_CXX          := $(CROSS_PREFIX)g++
46
+FreeBSD-ppc64_CXX          := $(CROSS_PREFIX)g++
40
+FreeBSD-ppc64_STRIP        := $(CROSS_PREFIX)strip
47
+FreeBSD-ppc64_STRIP        := $(CROSS_PREFIX)strip
41
+FreeBSD-ppc64_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
48
+FreeBSD-ppc64_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden

Return to bug 282272