aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-08-15 04:46:55 +0800
committerdinoex <dinoex@FreeBSD.org>2016-08-15 04:46:55 +0800
commitaf8a1ba945bae142b2a15d5630a1c3878ecf0f73 (patch)
tree2cdaddfc027805e8f87154fdf6bf1d353647f5a0 /security/openssl/Makefile
parent64897d53e7ce0b9cd89755e560fbb62923485d41 (diff)
downloadfreebsd-ports-gnome-af8a1ba945bae142b2a15d5630a1c3878ecf0f73.tar.gz
freebsd-ports-gnome-af8a1ba945bae142b2a15d5630a1c3878ecf0f73.tar.zst
freebsd-ports-gnome-af8a1ba945bae142b2a15d5630a1c3878ecf0f73.zip
- cleanup options
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 45b8f7dc81be..32d3d4efb60a 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -23,12 +23,9 @@ CONFLICTS= libressl-[0-9]* \
libressl-devel-[0-9]* \
openssl-devel-[0-9]*
-.ifdef USE_OPENSSL
-.error You have `USE_OPENSSL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
-.endif
-
-OPTIONS_DEFINE= SHARED THREADS I386 SSE2 ASM PADLOCK ZLIB GMP SCTP SSL2 SSL3 RFC3779 MD2 RC5 EXPCIPHERS DOCS MAN3
+OPTIONS_DEFINE= SHARED THREADS SSE2 ASM PADLOCK ZLIB GMP SCTP SSL2 SSL3 RFC3779 MD2 RC5 EXPCIPHERS DOCS MAN3
OPTIONS_DEFAULT=SHARED THREADS SSE2 SCTP SSL2 SSL3 MD2 MAN3
+OPTIONS_DEFINE_i386= I386
.for a in amd64 ia64
OPTIONS_DEFINE_${a}= EC
OPTIONS_DEFAULT_${a}= EC
@@ -200,19 +197,11 @@ 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}" \
- ./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \
- --install_prefix=${STAGEDIR} \
- -L${PREFIX}/lib ${EXTRACONFIGURE}
-.else
cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" FREEBSDCC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \
--install_prefix=${STAGEDIR} \
-L${PREFIX}/lib ${EXTRACONFIGURE}
-.endif
${REINPLACE_CMD} \
-e 's|^MANDIR=.*$$|MANDIR=$$(PREFIX)/man|' \
-e 's|$$(LIBDIR)/pkgconfig|libdata/pkgconfig|g' \