_PKGTOOLSDEFIED

Alexander Un unnpin at gmail.com
Wed Oct 10 15:37:24 UTC 2012


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


More information about the freebsd-ports mailing list