Index: head/security/R-cran-openssl/Makefile =================================================================== --- head/security/R-cran-openssl/Makefile (revision 428462) +++ head/security/R-cran-openssl/Makefile (revision 428463) @@ -1,27 +1,31 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= openssl PORTVERSION= 0.9.5 CATEGORIES= security DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Toolkit for Encryption, Signatures and Certificates Based on OpenSSL LICENSE= MIT -USES= cran:auto-plist,compiles +USES= cran:auto-plist,compiles ssl +R_POSTCMD_INSTALL_OPTIONS+= --configure-vars="INCLUDE_DIR=${OPENSSLINC} LIB_DIR=${OPENSSLLIB}" + post-patch: ${REINPLACE_CMD} -e '1,5d' ${WRKSRC}/src/ssl.c -.include +.include -.if ${OSVERSION} < 1000015 -WITH_OPENSSL_PORT= yes -R_POSTCMD_INSTALL_OPTIONS+= --configure-vars="INCLUDE_DIR=${OPENSSLINC} LIB_DIR=${OPENSSLLIB}" -USES+= ssl +.if ${SSL_DEFAULT:Mlibressl*} +IGNORE= Detected LibreSSL (missing RSA_get0_key and others) +.else +. if ${OSVERSION} < 1000015 && ${SSL_DEFAULT:Mbase} +IGNORE= Need a more recent version of OpenSSL. +. endif .endif -.include +.include