Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 06:05:25 -0800 (PST)
From:      "wvengen@stack.nl" <Willem.van.Engen@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33533: Port fix: misc/sword-modules: broke with different WRKDIRPREFIX
Message-ID:  <200201041405.g04E5PK55466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33533
>Category:       ports
>Synopsis:       Port fix: misc/sword-modules: broke with different WRKDIRPREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 06:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     wvengen@stack.nl
>Release:        
>Organization:
>Environment:
>Description:
Using a different WRKDIRPREFIX can break the port build (as it does at bento.freebsd.org).
>How-To-Repeat:

>Fix:
--- misc/sword-modules/scripts/configure.swmods Fri Jan  4 00:41:23 2002
+++ misc/sword-modules/scripts/configure.swmods	Fri Jan  4 00:48:13 2002
@@ -7,6 +7,7 @@
 BASENAME=${BASENAME:-/usr/bin/basename}
 CAT=${CAT:-/bin/cat}
 WC=${WC:-/usr/bin/wc}
+MKDIR=${MKDIR:-/bin/mkdir -p}
 
 dialog_main() {
 	tmpfile=`${MKTEMP} -t menulistM`
@@ -131,7 +132,7 @@
 fi
 
 if [ ! -d ${SETDIR} ]; then
-	mkdir ${SETDIR}
+	${MKDIR} ${SETDIR}
 fi
 
 echo "# Automatically generated file - manual changes may be lost" >${MODFILE}

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201041405.g04E5PK55466>