Module Name:    src
Committed By:   christos
Date:           Tue Oct 10 19:30:41 UTC 2017

Modified Files:
        src/usr.sbin/arp: Makefile
        src/usr.sbin/ndp: Makefile
        src/usr.sbin/rtadvd: Makefile

Log Message:
use librumpres


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/arp/Makefile
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ndp/Makefile
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/rtadvd/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/arp/Makefile
diff -u src/usr.sbin/arp/Makefile:1.12 src/usr.sbin/arp/Makefile:1.13
--- src/usr.sbin/arp/Makefile:1.12	Wed Jul 29 02:07:35 2015
+++ src/usr.sbin/arp/Makefile	Tue Oct 10 15:30:41 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2015/07/29 06:07:35 ozaki-r Exp $
+#	$NetBSD: Makefile,v 1.13 2017/10/10 19:30:41 christos Exp $
 #	from: @(#)Makefile	8.2 (Berkeley) 4/18/94
 
 .include <bsd.own.mk>
@@ -6,10 +6,10 @@
 RUMPPRG=	arp
 MAN=		arp.4 arp.8
 
-.PATH:		${.CURDIR}/../../lib/libc/net
-RUMPSRCS=	getifaddrs.c getnameinfo.c
 .if (${MKRUMP} != "no")
 CPPFLAGS+= 	-DRUMP_ACTION
+LDADD.rump+=	-lrumpres
+DPADD.rump+=	${LIBRUMPRES}
 .endif
 
 .include <bsd.prog.mk>

Index: src/usr.sbin/ndp/Makefile
diff -u src/usr.sbin/ndp/Makefile:1.12 src/usr.sbin/ndp/Makefile:1.13
--- src/usr.sbin/ndp/Makefile:1.12	Mon Dec 14 01:17:05 2015
+++ src/usr.sbin/ndp/Makefile	Tue Oct 10 15:30:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/12/14 06:17:05 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.13 2017/10/10 19:30:41 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -14,11 +14,10 @@ MAN=		ndp.8
 CPPFLAGS+=	-DINET6
 CPPFLAGS+=	-I. -I${TCPDUMP}
 
-.PATH:		${.CURDIR}/../../lib/libc/net
-RUMPSRCS=	getaddrinfo.c getifaddrs.c getnameinfo.c
-RUMPSRCS+=	if_indextoname.c if_nametoindex.c
 .if (${MKRUMP} != "no")
 CPPFLAGS+= 	-DRUMP_ACTION
+LDADD.rump+=	-lrumpres
+DPADD.rump+=	${LIBRUMPRES}
 .endif
 
 .include <bsd.prog.mk>

Index: src/usr.sbin/rtadvd/Makefile
diff -u src/usr.sbin/rtadvd/Makefile:1.20 src/usr.sbin/rtadvd/Makefile:1.21
--- src/usr.sbin/rtadvd/Makefile:1.20	Wed Jan 11 07:19:44 2017
+++ src/usr.sbin/rtadvd/Makefile	Tue Oct 10 15:30:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2017/01/11 12:19:44 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2017/10/10 19:30:41 christos Exp $
 
 WARNS?=	4
 
@@ -19,10 +19,10 @@ FILESDIR=	/usr/share/examples/rtadvd
 FILES=	rtadvd.conf
 .endif
 
-.PATH:	${.CURDIR}/../../lib/libc/net
-RUMPSRCS=	getifaddrs.c getnameinfo.c if_indextoname.c if_nametoindex.c
 .if (${MKRUMP} != "no")
 CPPFLAGS+=	-DRUMP_ACTION
+LDADD.rump+=	-lrumpres
+DPADD.rump+=	${LIBRUMPRES}
 .endif
 
 CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member

Reply via email to