Index: head/devel/p4/Makefile =================================================================== --- head/devel/p4/Makefile (revision 463652) +++ head/devel/p4/Makefile (revision 463653) @@ -1,44 +1,49 @@ # Created by: gordon@FreeBSD.org # $FreeBSD$ 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 # around that by cacheing the distfile in LOCAL and using that version to make # distinfo MASTER_SITES= LOCAL/asomers/perforce/p4 \ https://swarm.workshop.perforce.com/projects/perforce_software-p4/archives/ DISTNAME= ${YEAR}-${MAJOR} DIST_SUBDIR= perforce/p4 DISTFILES= ${ZIP_FILES} MAINTAINER= asomers@FreeBSD.org COMMENT= Perforce client LICENSE= BSD2CLAUSE 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 .include "Makefile.inc" # Sadly, Jam always returns 1 even on success. Ignore its return value and # detect build errors during the install phase. do-build: cd ${WRKSRC} && ${SETENV} C++="${CXX}" C++FLAGS="${CXXFLAGS}" \ CCFLAGS="${CFLAGS}" \ LINKFLAGS="${LDFLAGS}" \ OSVER=${OSVER} \ + SSL="yes" \ + SSLPREFIX=${OPENSSLLIB} \ ${JAM} -dx -j${MAKE_JOBS_NUMBER} || true do-install: ${INSTALL_PROGRAM} ${WRKSRC}/p4-bin/p4 ${STAGEDIR}${PREFIX}/bin .include