ports/167520: [patch] devel/kBuild-devel fails if $ENV not ash-compatible
Kurt Jaeger
fbsd-ports at opsec.eu
Wed May 2 11:00:22 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list