- fix option THREADS

- bump PORTREVISION
PR:		170231
Submitted by:	Kubilay Kocak
This commit is contained in:
Dirk Meyer 2012-07-29 08:10:38 +00:00
parent e8dad37a3d
commit 8e4a0774cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301677

View file

@ -8,7 +8,7 @@
PORTNAME= openssl
PORTVERSION= 1.0.1
DISTVERSIONSUFFIX= c
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
ftp://ftp.openssl.org/%SUBDIR%/ \
@ -1115,7 +1115,7 @@ PATCHFILES+= 0001-crypto-hmac-support-EVP_MD_CTX_FLAG_ONESHOT-and-set-.patch:pad
.if ${PORT_OPTIONS:MGMP}
EXTRACONFIGURE+= enable-gmp
IGNORE= GMP is LGPLv3 an can not be linked.
IGNORE= GMP is LGPLv3 and can not be linked
.else
EXTRACONFIGURE+= no-gmp
.endif
@ -1146,15 +1146,16 @@ 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}" \
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} \
./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \
-L${PREFIX}/lib ${EXTRACONFIGURE}
.else
cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" FREEBSDCC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} \
./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \
-L${PREFIX}/lib ${EXTRACONFIGURE}
.endif