1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

. Use gpatch for patching on older (7.x) versions of FreeBSD.

PR:		175829
Submitted by:	Nobuhiro Ban <ban.nobuhiro@gmail.com>
This commit is contained in:
Greg Lewis 2013-03-03 05:08:45 +00:00
parent dfe45e293e
commit 78d642088f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313327

View File

@ -135,6 +135,11 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk
BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/bootstrap-openjdk
.endif
.if ${OSVERSION} < 800000
PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch
PATCH= gpatch
.endif
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp