mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- adoptions of USES for gettext
Approved by: portmgr (bapt@)
This commit is contained in:
parent
524caafd20
commit
7c700529d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317075
@ -42,7 +42,7 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
|
||||
NAGIOSPOLLIP?= 127.0.0.1
|
||||
NAGIOSPOLLIP6?= ::1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
CONFIGURE_ARGS= --with-nagios-user=${NAGIOSUSER} \
|
||||
--with-nagios-group=${NAGIOSGROUP} \
|
||||
@ -128,12 +128,12 @@ PLIST_SUB+= SUB_LDAP=""
|
||||
PLIST_SUB+= SUB_LDAP="@comment "
|
||||
.endif
|
||||
|
||||
.if empty(PORT_OPTIONS:MNLS)
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.endif
|
||||
|
||||
# Restore check_users from 1.4.15 for hosts without getutxent(3)
|
||||
@ -153,4 +153,4 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user