From nobody@FreeBSD.org  Sun Jul 21 09:53:17 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 713D337B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2002 09:53:17 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 350B643E42
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2002 09:53:17 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LGr4OT044370
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2002 09:53:04 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g6LGr43T044369;
	Sun, 21 Jul 2002 09:53:04 -0700 (PDT)
Message-Id: <200207211653.g6LGr43T044369@www.freebsd.org>
Date: Sun, 21 Jul 2002 09:53:04 -0700 (PDT)
From: april <april@oublinet.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: deprecated test(1) options in src/include/Makefile
X-Send-Pr-Version: www-1.0

>Number:         40846
>Category:       bin
>Synopsis:       deprecated test(1) options in src/include/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 10:00:03 PDT 2002
>Closed-Date:    Tue Oct 01 06:30:59 PDT 2002
>Last-Modified:  Tue Oct 01 06:30:59 PDT 2002
>Originator:     april
>Release:        FreeBSD 4.6-STABLE
>Organization:
>Environment:
FreeBSD december 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jun 29 15:08:33 EST 2002     root@december:/usr/obj/usr/src/sys/DECEMBER  i386
>Description:
      From test(1)

-h file       True if file exists and is a symbolic link.  This operator
              is retained for compatibility with previous versions of
              this program.  Do not rely on its existence; use -L
              instead.
>How-To-Repeat:
      check src/include/Makefile :)
>Fix:
      This issue is also addressed in PR #38724, but for 
bsd.{sys,port}.mk. This issue also exists for the ipfilter makefiles.

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/include/Makefile,v
retrieving revision 1.171
diff -u -r1.171 Makefile
--- Makefile    2002/06/17 01:42:33     1.171
+++ Makefile    2002/07/21 16:50:33
@@ -81,7 +81,7 @@
 
 copies:
 .for i in ${LDIRS} ${LSYMSUBDIRS} machine
-       if [ -h ${DESTDIR}/usr/include/$i ]; then \
+       if [ -L ${DESTDIR}/usr/include/$i ]; then \
                rm -f ${DESTDIR}/usr/include/$i; \
        fi
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 20 10:27:52 PDT 2002 
Responsible-Changed-Why:  
Ruslan, can you please have a look at this and also 
the bsd.obj.mk part of PR 38724. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40846 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Tue Oct 1 06:30:06 PDT 2002 
State-Changed-Why:  
The suggested fix (and a bunch of similar ones) were committed to 5.0-CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40846 
>Unformatted:
