diff options
Diffstat (limited to 'mail/rspamd-devel/Makefile')
-rw-r--r-- | mail/rspamd-devel/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile index 0a6d56e3172b..bba3941384fa 100644 --- a/mail/rspamd-devel/Makefile +++ b/mail/rspamd-devel/Makefile @@ -86,9 +86,11 @@ LUAJIT_CMAKE_OFF= -DENABLE_LUAJIT=OFF .include <bsd.port.options.mk> -.if ${ARCH:Mpowerpc64*} +.if ${ARCH} == powerpc64 +CMAKE_ARGS+= -DENABLE_LTO:BOOL=OFF +LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty +.elif ${ARCH} == powerpc64le LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty -USES+= compiler:gcc-c++11-lib .endif post-install: |