1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Resolve an install issue when no pre-existing syslog-ng.conf exists in

$LOCALBASE.
This commit is contained in:
Cy Schubert 2011-06-04 18:37:31 +00:00
parent 88517f8014
commit 7e11db071d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275063
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ CONFIGURE_ARGS+= --disable-linux-caps
post-patch:
@${REINPLACE_CMD} -e 's:libnet-config:libnet115-config:g' ${WRKSRC}/configure
@${MV} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
@${LN} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
.if ${OSVERSION} >= 900007
@${REINPLACE_CMD} \
-e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \

View File

@ -107,7 +107,7 @@ CONFIGURE_ARGS+= --disable-linux-caps
post-patch:
@${REINPLACE_CMD} -e 's:libnet-config:libnet115-config:g' ${WRKSRC}/configure
@${MV} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
@${LN} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
.if ${OSVERSION} >= 900007
@${REINPLACE_CMD} \
-e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \