Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 21:37:23 +0600
From:      Alexander Un <unnpin@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   _PKGTOOLSDEFIED
Message-ID:  <CABhnbDDm21Fuh7M57DJm=h1Luu_EN2pU=hh_Z47n8TZ82%2BnR=A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
After update<http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.commands.mk.diff?r1=1.13;r2=1.14;f=h>ports
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABhnbDDm21Fuh7M57DJm=h1Luu_EN2pU=hh_Z47n8TZ82%2BnR=A>