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:
parent
dfe45e293e
commit
78d642088f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313327
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user