From owner-freebsd-ports@FreeBSD.ORG Wed Sep 16 22:32:34 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 242A3106566B for ; Wed, 16 Sep 2009 22:32:34 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mx1.freebsd.org (Postfix) with ESMTP id CDF5A8FC0A for ; Wed, 16 Sep 2009 22:32:33 +0000 (UTC) Received: from mail-in-15-z2.arcor-online.net (mail-in-15-z2.arcor-online.net [151.189.8.32]) by mx.arcor.de (Postfix) with ESMTP id BFC5928B00D for ; Thu, 17 Sep 2009 00:32:32 +0200 (CEST) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-15-z2.arcor-online.net (Postfix) with ESMTP id B485A72417E for ; Thu, 17 Sep 2009 00:32:32 +0200 (CEST) Received: from lorvorc.mips.inka.de (dslb-092-075-214-064.pools.arcor-ip.net [92.75.214.64]) by mail-in-03.arcor-online.net (Postfix) with ESMTPS id 83C792C29F2 for ; Thu, 17 Sep 2009 00:32:32 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-03.arcor-online.net 83C792C29F2 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.3/8.14.3) with ESMTP id n8GMWWxv069494 for ; Thu, 17 Sep 2009 00:32:32 +0200 (CEST) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.3/8.14.3/Submit) id n8GMWW9K069493 for freebsd-ports@freebsd.org; Thu, 17 Sep 2009 00:32:32 +0200 (CEST) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Wed, 16 Sep 2009 22:32:31 +0000 (UTC) Message-ID: References: <20090916202317.GB91963@atarininja.org> <20090916210153.GA93138@lorvorc.mips.inka.de> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: Re: NOPORTDOCS ignored on command line X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 22:32:34 -0000 Christian Weisgerber wrote: > $ make -DNOPORTDOCS -V INSTALL_TARGET > install > $ make -DNOPORTDOCS install > ===> Installing for xz-4.999.9 > ===> Generating temporary packing list > ===> Checking if archivers/xz already installed > ===> Switching to root credentials for 'install' target > install install-dist_docDATA > *** Error code 1 > > Presumably bsd.port.mk invokes a recursive make for the install > step, but fails to pass NOPORTDOCS. Duh! It's the result of my use of sudo for SU_CMD and recent versions of sudo no longer passing on all environment variables. You now need to use this: SU_CMD=sudo -E sh -c -- Christian "naddy" Weisgerber naddy@mips.inka.de