From owner-freebsd-ports@FreeBSD.ORG Sat Oct 12 17:02:42 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DE446328 for ; Sat, 12 Oct 2013 17:02:42 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B256126E8 for ; Sat, 12 Oct 2013 17:02:42 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id aq17so8435209iec.38 for ; Sat, 12 Oct 2013 10:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5q+PGMeSoK3YAdtLl/TGDtOREpUNO9eWperiOmiNCB0=; b=hzuXMjmFDacJJqyOrycNkh0G+MVn96qGAmbpdiyLT61C7goFGgk6TgN+qhjYL/QZlZ xlVqQYH0bZNI2Q2dVrMHGVlfg4j7wKMzsuamphczSrqZcwcFL6TBczQtQ6ct6y+P5gTX XaCjwKIdU3jQ6FRuOfWwv6nowrDABevONtbPYw0GmT0uLGIXKiKZapGnenac742oXaYD InlxO/nK8Y8IR2D5r04JPUAl9dozklYuKwjGGOs1SXQb7DUWJyOQHvuk5ZsbOR/6g8tK vF3P6gcREekUMEKa7y5fJcfhAd/LLQkcQm9QHU8rsEePERtElzA1iSwJBKVDjVg+8XiW sH2g== MIME-Version: 1.0 X-Received: by 10.43.10.198 with SMTP id pb6mr15122650icb.40.1381597362040; Sat, 12 Oct 2013 10:02:42 -0700 (PDT) Received: by 10.50.62.178 with HTTP; Sat, 12 Oct 2013 10:02:41 -0700 (PDT) In-Reply-To: References: <52590C07.9080805@heuristicsystems.com.au> Date: Sat, 12 Oct 2013 12:02:41 -0500 Message-ID: Subject: Re: cyrus-sasl2-saslauthd package failure. From: Scot Hetzel To: Dewayne-remote Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 17:02:42 -0000 > I tried to add a .undef STAGEDIR to bsd.port.mk: > > --- /usr/ports/Mk.bsd.port.mk > +++ /usr/ports/Mk.bsd.port.mk > @@ -1932,6 +1932,8 @@ > .if !defined(NO_STAGE) > .include "${PORTSDIR}/Mk/bsd.stage.mk" > +.else > +.undef STAGEDIR +.if defined(STAGEDIR) +IGNORE= STAGEDIR defined on the command line, don't do that +.endif > .endif > This change catches the use of STAGEDIR defined on the command line and sets the IGNORE flag. But I still can't undefined STAGEDIR when it is defined on the command line. > The above works, if you put STAGEDIR into /etc/make.conf. > > # echo 'STAGEDIR=/stagetest' >> /etc/make.conf > # make -V STAGEDIR > > But it doesn't work if you define STAGEDIR with the make command: > > # make STAGEDIR=/stage -V STAGEDIR > /stage > > Does anyone know how to make this work? > > -- > DISCLAIMER: > > No electrons were maimed while sending this message. Only slightly bruised. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.