aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/syslog-ng1
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng1')
-rw-r--r--sysutils/syslog-ng1/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/syslog-ng1/Makefile b/sysutils/syslog-ng1/Makefile
index acd0310ef38a..d381419935a5 100644
--- a/sysutils/syslog-ng1/Makefile
+++ b/sysutils/syslog-ng1/Makefile
@@ -43,6 +43,12 @@ BUILD_DEPENDS+= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
post-patch:
@${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure
+.if ${OSVERSION} >= 900007
+ @${REINPLACE_CMD} \
+ -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \
+ ${WRKSRC}/configure ${WRKSRC}/src/afuser.c \
+ ${WRKSRC}/src/utils.c ${WRKSRC}/src/utils.h
+.endif
post-install:
.if !defined(NOPORTDOCS)