mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
add REINPLACE
PR: 40065 Submitted by: Erwin Lansing <erwin@lansing.dk>
This commit is contained in:
parent
8aa5a5050f
commit
35f34c0c13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62273
@ -19,12 +19,11 @@ MAINTAINER= erwin@lansing.dk
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
USE_REINPLACE= yes
|
||||
|
||||
pre-patch:
|
||||
.for file in goo/Makefile xpdf/Makefile
|
||||
@${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.orig
|
||||
@${SED} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}.orig \
|
||||
> ${WRKSRC}/${file}
|
||||
${REINPLACE_CMD} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
|
Loading…
Reference in New Issue
Block a user