ports/61697: emulators/linux_base - Remove unneeded slashes in Makefile

Linh Pham question at closedsrc.org
Thu Jan 22 01:00:44 UTC 2004


>Number:         61697
>Category:       ports
>Synopsis:       emulators/linux_base - Remove unneeded slashes in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 17:00:39 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Linh Pham
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Mon Oct 27 21:45:52 PST 2003 question at q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386


	
>Description:
Removed several instances of unneeded slashes between "<Jail root dir>" and
"${LINUXBASE}" in the section where the port build requires the user to
create /dev/null in the jailed Linux environment. With the extra slashes,
the output is:

rm -f <Jail root dir>//compat/linux/dev/null
mknod <Jail root dir>//compat/linux/dev/null c 2 2
chmod 666 <Jail root dir>//compat/linux/dev/null

>How-To-Repeat:
>Fix:

--- linux_base-Makefile.diff begins here ---
--- Makefile.orig	Wed Jan 21 16:51:41 2004
+++ Makefile	Wed Jan 21 16:52:38 2004
@@ -143,9 +143,9 @@
 	@${ECHO_MSG} "outside the jail, then press enter:"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "mkdir -m 0755 -p <Jail root dir>/dev"
-	@${ECHO_MSG} "rm -f <Jail root dir>/${LINUXBASE}/dev/null"
-	@${ECHO_MSG} "mknod <Jail root dir>/${LINUXBASE}/dev/null c 2 2"
-	@${ECHO_MSG} "chmod 666 <Jail root dir>/${LINUXBASE}/dev/null"
+	@${ECHO_MSG} "rm -f <Jail root dir>${LINUXBASE}/dev/null"
+	@${ECHO_MSG} "mknod <Jail root dir>${LINUXBASE}/dev/null c 2 2"
+	@${ECHO_MSG} "chmod 666 <Jail root dir>${LINUXBASE}/dev/null"
 	@${ECHO_MSG} ""
 	@${SH} -c "read line"
 .endif
--- linux_base-Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list