security/openssl111: Fix LLD on i386 * Fix LLD for i386 * Correct ordering of variables, per handbook PR: 231459 Submitted by: Nathan Index: security/openssl111/Makefile =================================================================== --- security/openssl111/Makefile (revision 480592) +++ security/openssl111/Makefile (working copy) @@ -20,6 +20,16 @@ openssl-[0-9]* \ openssl-devel-[0-9]* +USES= cpe perl5 +USE_PERL5= build +TEST_TARGET= test + +LDFLAGS_i386= -Wl,-znotext +LDFLAGS= ${LDFLAGS_${ARCH}} + +MAKE_ARGS= WHOLE_ARCHIVE_FLAG="--whole-archive" CNF_LDFLAGS="${LDFLAGS}" +MAKE_ENV= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= + HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config CONFIGURE_ENV= PERL="${PERL}" @@ -38,6 +48,7 @@ RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2 OPTIONS_GROUP_OPTIMIZE_amd64= EC +OPTIONS_SUB= yes .if ${MACHINE_ARCH} == "amd64" OPTIONS_GROUP_OPTIMIZE+= EC @@ -80,14 +91,6 @@ TLS1_2_DESC= TLSv1.2 ZLIB_DESC= zlib compression support -OPTIONS_SUB= yes - -USES= cpe perl5 -USE_PERL5= build -MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive -MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= -TEST_TARGET= test - # Upstream default disabled options .for _option in md2 rc5 sctp ssl3 zlib ${_option:tu}_CONFIGURE_ON= enable-${_option}