mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Fix the path to some base utilities in plugin scripts.
PR: 57476 Submitted by: Krzysztof Stryjek <wtpooh@acn.waw.pl>
This commit is contained in:
parent
5fd437752f
commit
8b2eeb4eb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96298
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= netsaint-plugins
|
||||
PORTVERSION= 1.2.9.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= netsaintplug
|
||||
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Plugins for netsaint
|
||||
|
||||
USE_SUBMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \
|
||||
--libexecdir=${PREFIX}/libexec/netsaint \
|
||||
@ -36,6 +37,13 @@ pre-fetch:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC}/plugins-scripts/ -type f -perm -+x | ${XARGS} -n1 \
|
||||
${REINPLACE_CMD} -e "s,/bin/diff,/usr/bin/diff,g" \
|
||||
-e "s,/bin/sed,/usr/bin/sed,g" \
|
||||
-e "s,/bin/tail,/usr/bin/tail,g" \
|
||||
-e "s,/bin/grep,/usr/bin/grep,g"
|
||||
|
||||
post-clean:
|
||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= netsaint-plugins
|
||||
PORTVERSION= 1.2.9.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= netsaintplug
|
||||
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Plugins for netsaint
|
||||
|
||||
USE_SUBMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \
|
||||
--libexecdir=${PREFIX}/libexec/netsaint \
|
||||
@ -36,6 +37,13 @@ pre-fetch:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC}/plugins-scripts/ -type f -perm -+x | ${XARGS} -n1 \
|
||||
${REINPLACE_CMD} -e "s,/bin/diff,/usr/bin/diff,g" \
|
||||
-e "s,/bin/sed,/usr/bin/sed,g" \
|
||||
-e "s,/bin/tail,/usr/bin/tail,g" \
|
||||
-e "s,/bin/grep,/usr/bin/grep,g"
|
||||
|
||||
post-clean:
|
||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user