From owner-freebsd-ports@FreeBSD.ORG Wed Oct 10 15:37:24 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4394D11B for ; Wed, 10 Oct 2012 15:37:24 +0000 (UTC) (envelope-from unnpin@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 005518FC0A for ; Wed, 10 Oct 2012 15:37:23 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so869524obb.13 for ; Wed, 10 Oct 2012 08:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1uAb86k1guC+qtSc6Ynp9rQbgprnmUk7+sv4+vPV/IQ=; b=yqlIat5h5w6dmt7BafZ+/IRca98DrfrQuw5ld8xqKs5GFm5IUgaBumUVgvV8aIpvJ+ qYAq82MnmRqN+c9CcBvAeOWk+9PQ9jjX4kWOx2/s3GF6hcUTXl61SQ3KkunvaGkwCxEn dhQxEVd3PywkxUJr8wWkbUplVWBmbgMEdPGILY4wehnfat7yaSorU+RwHwQYrBPJcs9d F271kGf9nw/HAkeE8kazvAnOtfqnDhQ9xMmSiKfE+MJ92x2SKtUVSCMNQz3Tsrp9hueG 6QIbRpN7z56yu7W01zBGJ1ewGRQyH8Uz8aETrzc8AEGXc/FfGRvA2u0WB5Q/NGBV9ngr mbDw== MIME-Version: 1.0 Received: by 10.60.32.176 with SMTP id k16mr12390060oei.130.1349883443340; Wed, 10 Oct 2012 08:37:23 -0700 (PDT) Received: by 10.76.135.67 with HTTP; Wed, 10 Oct 2012 08:37:23 -0700 (PDT) Date: Wed, 10 Oct 2012 21:37:23 +0600 Message-ID: Subject: _PKGTOOLSDEFIED From: Alexander Un To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 10 Oct 2012 15:37:24 -0000 After updateports tree, I get the error ===> Checking if devel/gettext already installed -q: not found *** Error code 127 My patch to fix the problem: @@ -115,8 +115,8 @@ # Used to print all the '===>' style prompts - override this to turn them off. ECHO_MSG?= ${ECHO_CMD} -.elif !defined(_PKGTOOLSDEFIED) -_PKGTOOLDEFINED= yes +.if !defined(_PKGTOOLSDEFIED) +_PKGTOOLSDEFINED= yes .if defined(WITH_PKGNG) PKG_BIN?= ${LOCALBASE}/sbin/pkg PKG_CMD?= ${PKG_BIN} register @@ -141,5 +141,6 @@ PKG_VERSION?= /usr/sbin/pkg_version .endif .endif +.endif .endif