security/cryptlib: enable on powerpc and powerpc64
This commit is contained in:
parent
fe13cf5adc
commit
1a425451d2
2 changed files with 14 additions and 1 deletions
|
@ -9,7 +9,7 @@ DISTNAME= cl${PORTVERSION:S/.//g}
|
|||
MAINTAINER= ale@FreeBSD.org
|
||||
COMMENT= Powerful security programming toolkit
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
|
||||
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
|
|
13
security/cryptlib/files/patch-crypt_osconfig.h
Normal file
13
security/cryptlib/files/patch-crypt_osconfig.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- crypt/osconfig.h.orig 2021-11-26 15:16:58 UTC
|
||||
+++ crypt/osconfig.h
|
||||
@@ -147,6 +147,10 @@
|
||||
#define L_ENDIAN
|
||||
#else
|
||||
#define B_ENDIAN
|
||||
+ #ifdef __LP64__
|
||||
+ #undef SIXTY_FOUR_BIT
|
||||
+ #define SIXTY_FOUR_BIT_LONG
|
||||
+ #endif
|
||||
#endif /* Usually big-endian but may be little-endian */
|
||||
#define BN_LLONG
|
||||
#define DES_RISC1
|
Loading…
Reference in a new issue