Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 03:08:22 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277674 - head/sbin/rcorder
Message-ID:  <201501250308.t0P38M7I072948@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Jan 25 03:08:21 2015
New Revision: 277674
URL: https://svnweb.freebsd.org/changeset/base/277674

Log:
  Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from
  usr.bin/make
  
  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sbin/rcorder/Makefile
  head/sbin/rcorder/rcorder.c
Directory Properties:
  head/   (props changed)
  head/sbin/   (props changed)

Modified: head/sbin/rcorder/Makefile
==============================================================================
--- head/sbin/rcorder/Makefile	Sun Jan 25 03:02:29 2015	(r277673)
+++ head/sbin/rcorder/Makefile	Sun Jan 25 03:08:21 2015	(r277674)
@@ -7,13 +7,8 @@ MAN=	rcorder.8
 
 LIBADD=	util
 
-# XXX hack for make's hash.[ch]
-CFLAGS+= -DORDER -I.
+CFLAGS+= -DORDER
 
-SRCS+=	util.h
-CLEANFILES+=	util.h
-
-util.h:
-	ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET}
+#CFLAGS+= -DDEBUG
 
 .include <bsd.prog.mk>

Modified: head/sbin/rcorder/rcorder.c
==============================================================================
--- head/sbin/rcorder/rcorder.c	Sun Jan 25 03:02:29 2015	(r277673)
+++ head/sbin/rcorder/rcorder.c	Sun Jan 25 03:08:21 2015	(r277674)
@@ -42,10 +42,10 @@ __FBSDID("$FreeBSD$");
 
 #include <err.h>
 #include <stdio.h>
+#include <libutil.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <util.h>
 
 #include "ealloc.h"
 #include "sprite.h"



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