Module Name: src
Committed By: christos
Date: Fri Feb 9 02:23:32 UTC 2018
Modified Files:
src/usr.sbin/syslogd: Makefile
Log Message:
only set api compat for 1.0
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/syslogd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/syslogd/Makefile
diff -u src/usr.sbin/syslogd/Makefile:1.26 src/usr.sbin/syslogd/Makefile:1.27
--- src/usr.sbin/syslogd/Makefile:1.26 Thu Feb 8 13:28:42 2018
+++ src/usr.sbin/syslogd/Makefile Thu Feb 8 21:23:32 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2018/02/08 18:28:42 jakllsch Exp $
+# $NetBSD: Makefile,v 1.27 2018/02/09 02:23:32 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
@@ -22,7 +22,9 @@ CPPFLAGS+=-DINET6
.endif
CPPFLAGS+=-DLIBWRAP
+.if ${HAVE_OPENSSL} < 11
CPPFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
+.endif
LDADD+= -lwrap
DPADD+= ${LIBWRAP}