NetBSD Problem Report #682

From gnats  Mon Jan  2 20:44:40 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id UAA17531 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 2 Jan 1995 20:44:39 -0800
Message-Id: <199501030447.XAA01518@lola-granola.MIT.EDU>
Date: Mon, 2 Jan 1995 23:47:18 -0500
From: jhawk@MIT.EDU
Reply-To: jhawk@panix.com
To: gnats-bugs@NetBSD.ORG
Subject: librpcsvc/Makefile's beforeinstall: neglects echo
X-Send-Pr-Version: 3.2

>Number:         682
>Category:       lib
>Synopsis:       librpcsvc/Makefile's beforeinstall: neglects echo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 20:50:02 +0000 1995
>Closed-Date:    Wed May 08 19:18:00 +0000 1996
>Last-Modified:  Wed May 08 19:22:58 +0000 1996
>Originator:     John Hawkinson
>Release:        1.0
>Organization:
MIT
>Environment:
System: NetBSD lola-granola 1.0 NetBSD 1.0 (LOLA-DDB) #61: Mon Jan 2 22:01:10 EST 1995 root@lola-granola:/u1/usr/src/sys/arch/i386/compile/LOLA-DDB i386
Also present in today's -current.

>Description:
	When librpcsvc/Makefile's beforeinstall: target performs
	installs on include files, does so within an @for loop
	which does not contain echo commands. As such, it is not
	obvious what is happening at the time.

	Additionally, the RCS keyword is Id rather than NetBSD.

	It should be noted that this process (installing include
	files) should eventually move to bsd.man.mk; since I'm
	currently running 1.0 and I understand it changes with
	-current, I'll skip that for now.

>How-To-Repeat:
	make install
>Fix:

*** /tmp/Makefile	Mon Jan  2 23:41:02 1995
--- Makefile	Mon Jan  2 23:28:31 1995
***************
*** 1,4 ****
! #	$Id: Makefile,v 1.10 1994/06/14 02:45:56 cgd Exp $

  RPCDIR=		${.CURDIR}/src
  .PATH:		${RPCDIR}
--- 1,4 ----
! #	$NetBSD: Makefile,v 1.10 1994/06/14 02:45:56 cgd Exp $

  RPCDIR=		${.CURDIR}/src
  .PATH:		${RPCDIR}
***************
*** 21,33 ****
  	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/rpcsvc
  	@for i in $(HDRS); do \
  	    cmp -s $$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
! 		install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
! 		${DESTDIR}/usr/include/rpcsvc; \
  	done
  	@for i in $(RPCSRCS); do \
  	    cmp -s ${RPCDIR}/$$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
! 		install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${RPCDIR}/$$i \
! 		${DESTDIR}/usr/include/rpcsvc; \
  	done

  # new suffixes have to go afterwards, because bsd.lib.mk clears them
--- 21,35 ----
  	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/rpcsvc
  	@for i in $(HDRS); do \
  	    cmp -s $$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
! 		{ j="install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
! 		${DESTDIR}/usr/include/rpcsvc"; \
! 		echo $$j; $$j } \
  	done
  	@for i in $(RPCSRCS); do \
  	    cmp -s ${RPCDIR}/$$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
! 		{ j="install -c -o ${BINOWN} -g ${BINGRP} -m 444
! 		${RPCDIR}/$$i ${DESTDIR}/usr/include/rpcsvc"; \
! 		echo $$j; $$j } \
  	done

  # new suffixes have to go afterwards, because bsd.lib.mk clears them
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Wed May 8 15:18:00 EDT 1996 
State-Changed-Why:  
Patch has recently been applied (librpcsvc/Makefile, rev 1.13). 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.