diff options
author | Cy Schubert <cy@FreeBSD.org> | 2010-01-25 06:16:52 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2010-01-25 06:16:52 +0000 |
commit | 689f2bafdac873b0566fb7bc36bc29645f0eb07b (patch) | |
tree | 569a3014bcb2dc799789768100544881441c65e9 | |
parent | 0af0250188d6827ddc7bbdc6dfdfb4e0a39363e4 (diff) | |
download | ports-689f2bafdac873b0566fb7bc36bc29645f0eb07b.tar.gz ports-689f2bafdac873b0566fb7bc36bc29645f0eb07b.zip |
Notes
-rw-r--r-- | sysutils/syslog-ng-devel/Makefile | 8 | ||||
-rw-r--r-- | sysutils/syslog-ng3-devel/Makefile | 8 | ||||
-rw-r--r-- | sysutils/syslog-ng3/Makefile | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile index cdc993325e59..c12d70378b72 100644 --- a/sysutils/syslog-ng-devel/Makefile +++ b/sysutils/syslog-ng-devel/Makefile @@ -54,6 +54,14 @@ CONFIGURE_ARGS+=--enable-tcp-wrapper post-patch: @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure +.if ${OSVERSION} >= 900007 + @${REINPLACE_CMD} \ + -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \ + -e 's|ut_name|ut_user|' \ + ${WRKSRC}/configure ${WRKSRC}/src/afuser.c \ + ${WRKSRC}/src/utils.c ${WRKSRC}/src/utils.h +.endif + post-install: .if !defined(NOPORTDOCS) diff --git a/sysutils/syslog-ng3-devel/Makefile b/sysutils/syslog-ng3-devel/Makefile index cdc993325e59..c12d70378b72 100644 --- a/sysutils/syslog-ng3-devel/Makefile +++ b/sysutils/syslog-ng3-devel/Makefile @@ -54,6 +54,14 @@ CONFIGURE_ARGS+=--enable-tcp-wrapper post-patch: @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure +.if ${OSVERSION} >= 900007 + @${REINPLACE_CMD} \ + -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \ + -e 's|ut_name|ut_user|' \ + ${WRKSRC}/configure ${WRKSRC}/src/afuser.c \ + ${WRKSRC}/src/utils.c ${WRKSRC}/src/utils.h +.endif + post-install: .if !defined(NOPORTDOCS) diff --git a/sysutils/syslog-ng3/Makefile b/sysutils/syslog-ng3/Makefile index cdc993325e59..c12d70378b72 100644 --- a/sysutils/syslog-ng3/Makefile +++ b/sysutils/syslog-ng3/Makefile @@ -54,6 +54,14 @@ CONFIGURE_ARGS+=--enable-tcp-wrapper post-patch: @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure +.if ${OSVERSION} >= 900007 + @${REINPLACE_CMD} \ + -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \ + -e 's|ut_name|ut_user|' \ + ${WRKSRC}/configure ${WRKSRC}/src/afuser.c \ + ${WRKSRC}/src/utils.c ${WRKSRC}/src/utils.h +.endif + post-install: .if !defined(NOPORTDOCS) |