mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Fix packaging as a user
This commit is contained in:
parent
dd0d54d7e0
commit
44c3cb0410
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339302
@ -47,8 +47,6 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
|
||||
NAGIOSPOLLIP?= 127.0.0.1
|
||||
NAGIOSPOLLIP6?= ::1
|
||||
|
||||
NEED_ROOT= yes # check_icmp, check_dhcp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
CONFIGURE_ARGS+=--with-nagios-user=${NAGIOSUSER} \
|
||||
@ -172,6 +170,7 @@ post-patch:
|
||||
check_users.c
|
||||
@${REINPLACE_CMD} -e 's|setlocale (LC_ALL, "");|setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");|g' ${WRKSRC}/plugins/${file}
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -e 's|chown root|${TRUE}|g' ${WRKSRC}/plugins-root/Makefile.am
|
||||
.if ${PORT_OPTIONS:MJAIL}
|
||||
@${REINPLACE_CMD} -e 's# 127.0.0.1 # ${NAGIOSPOLLIP} #g' ${WRKSRC}/configure.in
|
||||
@${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in
|
||||
|
Loading…
Reference in New Issue
Block a user