svn commit: r407949 - head/security/R-cran-openssl

TAKATSU Tomonari tota at FreeBSD.org
Wed Feb 3 09:42:36 UTC 2016


Author: tota
Date: Wed Feb  3 09:42:34 2016
New Revision: 407949
URL: https://svnweb.freebsd.org/changeset/ports/407949

Log:
  - Fix build on OSVERSION < 1000015
  
  Reported by:	pkg-fallout

Modified:
  head/security/R-cran-openssl/Makefile

Modified: head/security/R-cran-openssl/Makefile
==============================================================================
--- head/security/R-cran-openssl/Makefile	Wed Feb  3 08:00:34 2016	(r407948)
+++ head/security/R-cran-openssl/Makefile	Wed Feb  3 09:42:34 2016	(r407949)
@@ -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>


More information about the svn-ports-all mailing list