Date: Sat, 24 Jan 2015 18:16:53 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-projects@freebsd.org Subject: svn commit: r377806 - projects/rework-dependency-registration/Mk/Scripts Message-ID: <201501241816.t0OIGraf008778@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 24 18:16:53 2015 New Revision: 377806 URL: https://svnweb.freebsd.org/changeset/ports/377806 QAT: https://qat.redports.org/buildarchive/r377806/ Log: Some port can depend on either a binary owned by a package (gpg in gnupg1) or a symlink not owned by any (gpg in other gnupg package) this should solve this nightmare Submitted by: antoine Modified: projects/rework-dependency-registration/Mk/Scripts/actual-package-depends.sh Modified: projects/rework-dependency-registration/Mk/Scripts/actual-package-depends.sh ============================================================================== --- projects/rework-dependency-registration/Mk/Scripts/actual-package-depends.sh Sat Jan 24 17:59:19 2015 (r377805) +++ projects/rework-dependency-registration/Mk/Scripts/actual-package-depends.sh Sat Jan 24 18:16:53 2015 (r377806) @@ -21,7 +21,7 @@ find_dep() { searchfile=$(/usr/bin/which ${pattern} 2>/dev/null) ;; esac - [ -n "${searchfile}" ] && ${PKG_BIN} which -q ${searchfile} + [ -n "${searchfile}" ] && ${PKG_BIN} which -q `realpath ${searchfile}` } for lookup; do
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501241816.t0OIGraf008778>