Use ${WRKDIR} instead of /tmp for the temporary output from sed because
it's just generally a better idea. Why didn't I think of that ? Submitted by: nectar
This commit is contained in:
parent
8458b62518
commit
f950dd3d7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49267
3 changed files with 6 additions and 6 deletions
|
@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
|
|||
# fix .so references in a few man pages
|
||||
pre-configure::
|
||||
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
|
||||
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
|
||||
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
post-install::
|
||||
|
|
|
@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
|
|||
# fix .so references in a few man pages
|
||||
pre-configure::
|
||||
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
|
||||
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
|
||||
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
post-install::
|
||||
|
|
|
@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
|
|||
# fix .so references in a few man pages
|
||||
pre-configure::
|
||||
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
|
||||
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
|
||||
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
|
||||
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
post-install::
|
||||
|
|
Loading…
Reference in a new issue