diff --git a/comms/snap7/Makefile b/comms/snap7/Makefile index b5db15f5d61c..cecf181d7b1d 100644 --- a/comms/snap7/Makefile +++ b/comms/snap7/Makefile @@ -12,8 +12,6 @@ COMMENT= Multi-platform Ethernet S7 PLC communication suite LICENSE= GPLv3 -ONLY_FOR_ARCHS= amd64 armv6 i386 mips powerpc64 powerpc64le powerpc - USES= gmake USE_LDCONFIG= yes diff --git a/comms/snap7/files/patch-aarch64__bsd.mk b/comms/snap7/files/patch-aarch64__bsd.mk new file mode 100644 index 000000000000..93fca6aa0da8 --- /dev/null +++ b/comms/snap7/files/patch-aarch64__bsd.mk @@ -0,0 +1,15 @@ +--- aarch64_bsd.mk.orig 2021-07-21 15:55:09 UTC ++++ aarch64_bsd.mk +@@ -0,0 +1,12 @@ ++## ++## aarch64 BSD based (FreeBSD etc.) Makefile ++## Use gmake instead of make ++## ++TargetCPU :=aarch64 ++OS :=bsd ++CXXFLAGS := -O3 -g -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++