Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2015 22:30:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201635] message correctness Mk/Scripts/do-depends.sh
Message-ID:  <bug-201635-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201635

            Bug ID: 201635
           Summary: message correctness Mk/Scripts/do-depends.sh
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: bokutin@bokut.in
                CC: freebsd-ports-bugs@FreeBSD.org

diff --git a/Mk/Scripts/do-depends.sh b/Mk/Scripts/do-depends.sh
index 613ea0c..a8141a7 100644
--- a/Mk/Scripts/do-depends.sh
+++ b/Mk/Scripts/do-depends.sh
@@ -39,41 +39,41 @@ install_depends()
                        ${dp_WRKDIR}/pkg-static add ${pkgfile}
                        rm -f ${dp_WRKDIR}/pkg-static
                else
                        ${dp_PKG_ADD} -A ${pkgfile}
                fi
        elif [ -n "${dp_USE_PACKAGE_DEPENDS_ONLY}" -a "${target}" =
"${dp_DEPENDS_TARGET}" ]; then
                echo "===>   ${dp_PKGNAME} depends on package: ${pkgfile} - not
found" >&2
                echo "===>   dp_USE_PACKAGE_DEPENDS_ONLY set - not building
missing dependency from source" >&2
                exit 1
        else
                ${dp_MAKE} -C ${origin} -DINSTALLS_DEPENDS ${target}
${depends_args}
        fi
 }

 find_package()
 {
        if ${dp_PKG_INFO} "$1" >/dev/null 2>&1; then
                echo "===>   ${dp_PKGNAME} depends on package: $1 - found"
                return 0
        fi
-       echo "===>   ${dp_PKGNAME} depends on file: $1 - not found"
+       echo "===>   ${dp_PKGNAME} depends on package: $1 - not found"
        return 1
 }

 find_file()
 {
        if [ -e "$1" ]; then
                echo "===>   ${dp_PKGNAME} depends on file: $1 - found"
                return 0
        fi
        echo "===>   ${dp_PKGNAME} depends on file: $1 - not found"
        return 1
 }

 find_file_path()
 {
        if which -s $1 ; then
                echo "===>   ${dp_PKGNAME} depends on executable: $1 - found"
                return 0
        fi
        echo "===>   ${dp_PKGNAME} depends on executable: $1 - not found"

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201635-13>