svn commit: r463653 - head/devel/p4

Alan Somers asomers at FreeBSD.org
Mon Mar 5 17:08:33 UTC 2018


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 at 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:


More information about the svn-ports-all mailing list