Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 May 2012 12:51:44 +0200
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gahr@FreeBSD.org
Subject:   ports/167520: [patch] devel/kBuild-devel fails if $ENV not ash-compatible
Message-ID:  <E1SPX9s-0007JT-7e@fa8.opsec.eu>
Resent-Message-ID: <201205021100.q42B0LJG006913@freefall.freebsd.org>

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

>Number:         167520
>Category:       ports
>Synopsis:       [patch] devel/kBuild-devel fails if $ENV not ash-compatible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 02 11:00:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fa8.opsec.eu 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	The devel/kBuild-devel build fails if one has $ENV defined
	and the file $ENV points to contains constructs which are
	not working in the ash binary.

>How-To-Repeat:
	have a breaking .bashrc, let $ENV point to it and try to build.
>Fix:

--- Makefile.orig	2012-05-02 12:48:38.000000000 +0200
+++ Makefile	2012-05-02 12:46:37.000000000 +0200
@@ -39,6 +39,8 @@
 PORTDOCS=	QuickReference-kmk.html \
 		QuickReference-kmk.txt
 
+.SHELL:	path="/bin/sh" unsetenv=true
+
 post-patch:
 	${REINPLACE_CMD} -e '11269d;11274d' ${WRKSRC}/src/sed/configure
 	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Config.kmk

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SPX9s-0007JT-7e>