Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 09:42:34 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407949 - head/security/R-cran-openssl
Message-ID:  <201602030942.u139gY7S090230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602030942.u139gY7S090230>