aboutsummaryrefslogtreecommitdiff
path: root/security/R-cran-openssl
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2016-02-03 09:42:34 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2016-02-03 09:42:34 +0000
commita8b45a5506f9591afdadcd17eef48499794b84f2 (patch)
tree1e84af47a68d2838384c4a822252c56c314bd668 /security/R-cran-openssl
parentd503aae1cba15b66bbacb31fef91454f46a9f1c8 (diff)
downloadports-a8b45a5506f9591afdadcd17eef48499794b84f2.tar.gz
ports-a8b45a5506f9591afdadcd17eef48499794b84f2.zip
Notes
Diffstat (limited to 'security/R-cran-openssl')
-rw-r--r--security/R-cran-openssl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/R-cran-openssl/Makefile b/security/R-cran-openssl/Makefile
index 77ed4554b4cf..30801e1c9740 100644
--- a/security/R-cran-openssl/Makefile
+++ b/security/R-cran-openssl/Makefile
@@ -13,7 +13,15 @@ LICENSE= MIT
USES= cran:auto-plist
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000015
+WITH_OPENSSL_PORT= yes
+R_POSTCMD_INSTALL_OPTIONS+= --configure-vars="INCLUDE_DIR=${OPENSSLINC} LIB_DIR=${OPENSSLLIB}"
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/bin\//s|bash|sh|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>