From benno@rat-thing.netizen.com.au  Wed Apr 12 00:51:16 2000
Return-Path: <benno@rat-thing.netizen.com.au>
Received: from rat-thing.netizen.com.au (rat-thing.netizen.com.au [203.30.75.120])
	by hub.freebsd.org (Postfix) with ESMTP id F0DE037B9DF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Apr 2000 00:51:09 -0700 (PDT)
	(envelope-from benno@rat-thing.netizen.com.au)
Received: (from root@localhost)
	by rat-thing.netizen.com.au (8.9.3/8.9.3) id RAA10149;
	Wed, 12 Apr 2000 17:51:13 +1000 (EST)
	(envelope-from benno)
Message-Id: <200004120751.RAA10149@rat-thing.netizen.com.au>
Date: Wed, 12 Apr 2000 17:51:13 +1000 (EST)
From: benno@netizen.com.au
Sender: benno@rat-thing.netizen.com.au
Reply-To: benno@netizen.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: Makefile in /usr/src/sbin/mount_msdos does not honour LIBDATADIR
X-Send-Pr-Version: 3.2

>Number:         17945
>Category:       bin
>Synopsis:       [patch] Makefile in /usr/src/sbin/mount_msdos does not honour LIBDATADIR
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 12 01:00:01 PDT 2000
>Closed-Date:    Tue Aug 1 02:36:27 PDT 2000
>Last-Modified:  Tue Aug 01 02:37:27 PDT 2000
>Originator:     Benno Rice
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Netizen Pty Ltd
>Environment:

FreeBSD rat-thing.netizen.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #11: Wed Mar 15 14:04:47 EST 2000     benno@rat-thing.netizen.com.au:/usr/src/sys/compile/RATTHING  i386

>Description:

The Makefile for mount_msdos does not honour LIBDATADIR in generating it's
TABDIR variable.

>How-To-Repeat:

cd /usr/src/sbin/mount_msdos
setenv LIBDATADIR /tmp
make clean
make depend
make all
make install

>Fix:

--- Makefile	Sat Jan 15 04:39:20 2000
+++ Makefile.new	Wed Apr 12 17:48:22 2000
@@ -12,7 +12,7 @@
 CFLAGS+= -I${MOUNT}
 .PATH:	${MOUNT}
 
-TABDIR= ${DESTDIR}/usr/libdata/msdosfs
+TABDIR= ${DESTDIR}${LIBDATADIR}/msdosfs
 TABLES= iso22dos koi2dos
 
 afterinstall:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Apr 12 02:21:20 PDT 2000 
Responsible-Changed-Why:  
I'll commit this as soon as it's made it through a ``make world'' 
on my box. 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Tue Aug 1 02:36:27 PDT 2000 
State-Changed-Why:  
Committed as rev 1.15 in HEAD, and merged onto the RELENG_4 branch. 
Thanks, and sorry about the delay. :-) 

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