Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 11:58:01 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-ports@freebsd.org
Cc:        Frederique Rijsdijk <frederique@isafeelin.org>, Doug Barton <dougb@FreeBSD.org>
Subject:   Re: portmaster -x not working?
Message-ID:  <4A5DA829.7090405@quip.cz>
In-Reply-To: <4A5DA330.609@quip.cz>
References:  <4A5C954C.5060507@quip.cz> <4A5C9A98.5020006@isafeelin.org>	<4A5CB871.5070003@quip.cz> <4A5CDCD6.9030201@FreeBSD.org> <4A5DA330.609@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Miroslav Lachman wrote:
> Doug Barton wrote:
> 
>> Try using just this:
>>
>> portmaster -x mysql-client- phpMyAdmin-3.1.5
>>
>> That should work. If it does not, please let me know.
> 
> 
> part 2:
> 
> It is working with -x mysql, but not with -x mysql- or -x mysql-client 
> or -x mysql-client-

[...]

> So, something is broken, but I don't know what.

I got some progress. I hack a function check_exclude, to be more verbose 
and it help a little:

check_exclude () {
         echo "Exclude: $EXCL"
         echo "Dependency: $1"
         [ -n "$EXCL" ] || return 0

         case "$1" in
         *${EXCL}*)
         if [ -n "$PM_VERBOSE" ]; then
                 echo "===>>> Skipping $1"
                 echo "       because it matches the pattern: *${EXCL}*"
         fi
         return 1 ;;
         esac
         return 0
}



root@track ~/# ~/portmaster -v -x mysql-client- phpMyAdmin-3.1.4

===>>> Currently installed version: phpMyAdmin-3.1.4
===>>> Port directory: /usr/ports/databases/phpmyadmin
===>>> Launching 'make checksum' for databases/phpmyadmin in background
===>>> Gathering dependency list for databases/phpmyadmin from ports
===>>> Starting recursive 'make config' check
===>>> Checking dependency: /usr/ports/databases/mysql50-client
Exclude: mysql-client-
Dependency: databases/mysql50-client


So the problem is, that portmaster is doing match to ports directory 
mysql50-client which is different from the package name mysql-client-5.x.x

Should it be better documented in manpage, or modified to match package 
name? (or check both?)

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5DA829.7090405>