NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/40965: lfs_cleanerd isn't adapted to !MKDYNAMICROOT
>Number: 40965
>Category: bin
>Synopsis: lfs_cleanerd isn't adapted to !MKDYNAMICROOT
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 05 14:10:01 +0000 2009
>Originator: NAKAJIMA Yoshihiro
>Release: NetBSD-current[20090302]
>Organization:
>Environment:
System: NetBSD vajra 5.99.7 NetBSD 5.99.7 (VAJRA) #3: Wed Mar 4 23:41:26 JST
2009 nakayosh@vajra:/usr/src/sys/arch/i386/compile/VAJRA i386
Architecture: i386
Machine: i386
>Description:
lfs_cleanerd isn't adapted to !MKDYNAMICROOT though it is installed to a
root partition.
>How-To-Repeat:
>Fix:
Date: Thu Mar 5 21:52:41 JST 2009
diff -u src/libexec/lfs_cleanerd/Makefile.ORIG src/libexec/lfs_cleanerd/Makefile
--- src/libexec/lfs_cleanerd/Makefile.ORIG 2007-12-29 06:44:32.000000000
+0900
+++ src/libexec/lfs_cleanerd/Makefile 2009-03-05 21:52:35.000000000 +0900
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/12/28 21:44:32 ad Exp $
+# $NetBSD$
# @(#)Makefile 8.1 (Berkeley) 6/18/93
.include <bsd.own.mk>
@@ -20,4 +20,8 @@
BINDIR= /libexec
+.if (${MKDYNAMICROOT} == "no")
+LDSTATIC?= -static
+.endif
+
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index