1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

The patch for adding syslog support sets the wrong define variable causing syslog support to not be built.

maintainer timeout.

PR:		ports/180639
Submitted by:	Dave Duchscher
This commit is contained in:
Mathieu Arnold 2013-12-02 18:14:19 +00:00
parent 0a5d74efe6
commit a7ebe77fb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335523
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.4.4
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/

View File

@ -721,7 +721,7 @@ index 54e1c26..2b05157 100644
+ SYSLOG_FACILITY="LOG_DAEMON"
+fi
+if test "${USE_SYSLOG}" = "YES"; then
+ CFLAGS="$CFLAGS -DUSE_SYSLOG -DSYSLOG_FACILITY=${SYSLOG_FACILITY}"
+ CFLAGS="$CFLAGS -DNGX_ENABLE_SYSLOG -DSYSLOG_FACILITY=${SYSLOG_FACILITY}"
+fi
cat << END > $NGX_MAKEFILE