Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2014 19:21:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191455] x11-fm/doublecmd: no remember editors/lazarus dependency
Message-ID:  <bug-191455-13-PIfUDBhv6e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191455-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191455-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #5 from bbtruk@users.sourceforge.net ---
Hello Toni,

Thanks for your contributions, but I am afraid I must decline your patch.

There is a good reason why a port has both buildtime and runtime dependencies:

Usually builtime dependencies are formed by a large chain of ports which are
not needed to run the application. Installing them adds an unnecessary bloat to
your system.

By separating them, a user who uses binary packages will just have the minimum
necessary ones to run the application.


With your patch, installing Double Commander alone would also install all
Lazarus and Free Pascal dependencies, which are not needed by most people.


In any case, you have several ways to avoid the problems you are having:

1) Manually install Lazarus, so autoremove won't deinstall it. As an
alternative, use this command if Lazarus is already installed:
# pkg set -A 0 editors/lazarus
(It will mark Lazarus port as non-automatic)

2) Use official binary packages, this way you won't need to build anything, and
your system will be clean of builtime dependencies.

3) Use an automated port building system, like Poudriere, so it creates
packages of every dependency which can be reused later when compiling Double
Commander again. It will also prevent from leaving you with a broken system by
ports which fail to build.


If you need help with any of the mentioned methods, you can ask me personally
by mail (in spanish if you prefer), and I will assist you.



For the second part of your patch, AFAIK the use of != assignment in Makefiles
is discouraged.

It is true Double Commander doesn't require latest Lazarus, but the port system
is meant to be used in a consistent way, and using a different port tree
revision for a dependency can result in breakage as you have already seen in
the past.

You should always build doublecmd port with the equivalent lazarus version in
the ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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