Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2017 15:56:24 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r313210 - stable/11/usr.sbin/rpcbind
Message-ID:  <201702041556.v14FuOI6053614@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Feb  4 15:56:24 2017
New Revision: 313210
URL: https://svnweb.freebsd.org/changeset/base/313210

Log:
  MFC r311470:
  
  Conditionalize wrap(3) use based on MK_TCP_WRAPPERS instead of
  always building support into rpcbind.

Modified:
  stable/11/usr.sbin/rpcbind/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/rpcbind/Makefile
==============================================================================
--- stable/11/usr.sbin/rpcbind/Makefile	Sat Feb  4 15:55:31 2017	(r313209)
+++ stable/11/usr.sbin/rpcbind/Makefile	Sat Feb  4 15:56:24 2017	(r313210)
@@ -8,18 +8,21 @@ MAN=	rpcbind.8
 SRCS=	check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
 	rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c
 
-CFLAGS+= -DPORTMAP -DLIBWRAP
+CFLAGS+= -DPORTMAP
 
 .if ${MK_INET6_SUPPORT} != "no"
 CFLAGS+= -DINET6
 .endif
 
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+=	-DLIBWRAP
+LIBADD+=	wrap
+.endif
+
 .if ${MK_TESTS} != "no"
 SUBDIR+=	tests
 .endif
 
 WARNS?=	1
 
-LIBADD=	wrap
-
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702041556.v14FuOI6053614>