devel/autotools ; port test

chukharev at mail.ru chukharev at mail.ru
Mon Mar 8 21:07:12 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 devel/autotools ; port test
+++++++++++++++

===> Validating port with portlint
WARN: Makefile: [33]: possible direct use of command "automake" found. Use ${AUTOMAKE} instead and set according USE_AUTOTOOLS=<tool> macro
WARN: Makefile: [18]: possible direct use of command "libtool22" found. Use ${LIBTOOL} instead and set according USE_AUTOTOOLS=<tool> macro
WARN: Makefile: [29]: possible direct use of command "autoconf" found. Use ${AUTOCONF} instead and set according USE_AUTOTOOLS=<tool> macro
FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section.
FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section.
FATAL: Makefile: extra item "RUN_DEPENDS" placed in the MAINTAINER section.
FATAL: Makefile: COMMENT has to be there.
WARN: Makefile: no port directory /usr/ports/devel/autoconf${VER found, even though it is listed in RUN_DEPENDS.
WARN: Makefile: no port directory /usr/ports/devel/automake${VER found, even though it is listed in RUN_DEPENDS.
4 fatal errors and 5 warnings found.
Error validating port


More information about the freebsd-qa mailing list