x11-toolkits/tk84 ; port test

chukharev at mail.ru chukharev at mail.ru
Mon Mar 8 14:49:35 UTC 2010


The 'port test' command (ports-mgmt/porttools) tests a port for a number of
possible errors by running portlint, building, packaging, installing, and
de-installing with a check for left files. This is done with defined PREFIX and
PKG_DBDIR variables. 'port test' command is recommended by the Porter's Handbook.

Note that the port installs the usual way.

$ cd x11-toolkits/tk84 ; port test
+++++++++++++++

===> Validating port with portlint
FATAL: Makefile: [69]: contiguous blank lines (> 1 lines) found.
WARN: Makefile: [400]: use ${VARIABLE}, instead of $(VARIABLE).
WARN: Makefile: [394]: possible direct use of command "tr" found. use ${TR} instead.
WARN: Makefile: [396]: possible direct use of command "tr" found. use ${TR} instead.
WARN: Makefile: unless this is a master port, COMMENT has to be set by "=", not by "?=".
WARN: Makefile: "LIB_DEPENDS" has to appear earlier.
WARN: Makefile: no port directory /usr/ports/lang/tcl${SHORT_TK_VER}-thread found, even though it is listed in LIB_DEPENDS.
1 fatal error and 6 warnings found.
Error validating port


More information about the freebsd-qa mailing list