diff options
-rw-r--r-- | security/openssl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index 23f7972ac473..f163e4a9f804 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1066,6 +1066,12 @@ EXTRACONFIGURE+= enable-asm EXTRACONFIGURE+= no-asm .endif +.if ${PORT_OPTIONS:MTHREADS} +EXTRACONFIGURE+= threads +.else +EXTRACONFIGURE+= no-threads +.endif + .if ${PORT_OPTIONS:MSHARED} PLIST_SUB+= SHARED="" EXTRACONFIGURE+= shared @@ -1146,7 +1152,6 @@ post-patch: do-configure: @${REINPLACE_CMD} -e "s|options 386|options|" \ ${WRKSRC}/config - .if ${PORT_OPTIONS:MTHREADS} cd ${WRKSRC} \ && ${SETENV} CC="${CC}" FREEBSDCC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \ |