Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 17:08:32 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463653 - head/devel/p4
Message-ID:  <201803051708.w25H8WTA079280@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers (src committer)
Date: Mon Mar  5 17:08:32 2018
New Revision: 463653
URL: https://svnweb.freebsd.org/changeset/ports/463653

Log:
  devel/p4: build with SSL support
  
  SSL support was inadvertenly removed from devel/p4 (but not devel/p4api) by
  r460727.  This change restores it.
  
  PR:		226352
  Reported by:	Mike Durian <durian@boogie.com>

Modified:
  head/devel/p4/Makefile

Modified: head/devel/p4/Makefile
==============================================================================
--- head/devel/p4/Makefile	Mon Mar  5 16:51:02 2018	(r463652)
+++ head/devel/p4/Makefile	Mon Mar  5 17:08:32 2018	(r463653)
@@ -3,7 +3,7 @@
 
 PORTNAME=	p4
 PORTVERSION=	${YEAR}.${MAJOR}.${MINOR}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 # Perforce stupidly rerolls their distfiles on a regular basis, updating the
 # files' timestamps when they do, which changes the zip file's checksum.  Work
@@ -23,6 +23,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${JAM}:devel/jam
 
+# p4 links libssl and libcrypto statically, so specify :build
+USES=		ssl:build
+
 PLIST_FILES=	bin/p4
 
 .include <bsd.port.pre.mk>
@@ -36,6 +39,8 @@ do-build:
 		CCFLAGS="${CFLAGS}" \
 		LINKFLAGS="${LDFLAGS}" \
 		OSVER=${OSVER} \
+		SSL="yes" \
+		SSLPREFIX=${OPENSSLLIB} \
 		${JAM} -dx -j${MAKE_JOBS_NUMBER} || true
 
 do-install:



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