Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 01:09:37 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: problems installing svg pkg ....
Message-ID:  <20141208010937.0b1f1b52.freebsd@edvax.de>
In-Reply-To: <5484E2AE.1000105@hiwaay.net>
References:  <5484DC09.2000203@hiwaay.net> <5484DC3C.9060900@hiwaay.net> <14a2700039c.cff56e7f331868.3078289637012680814@bsdjunk.com> <5484E102.9060403@hiwaay.net> <14a270a7c9d.e9ba1df8332384.1403959691871347766@bsdjunk.com> <5484E2AE.1000105@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 07 Dec 2014 17:28:46 -0600, William A. Mahaffey III wrote:
> Rats !!!! I have been trying to avoid mixing ports & pkg's AMAP, as per 
> many on-list recommendations, so I guess I'll just wait until some of 
> this stuff gets cleared up :-/ ....

But you aren't mixing anything. Heavily simplified, this
is what happens, when you

(a) install with pkg:
	1. download binary archive
	2. extract binary archive
	3. copy files to correct locations
	4. register installed files in system's database

(b) install via ports ("make install", portmaster etc.):
	1. download source archive
	2. extract source archive
	3. apply patches, if any
	4. compile
	5. copy files to correct locations
	6. register installed files in system's database

As you can see, the last two steps are identical, and the
files in question are also the same (because the packages
you can install with pkg are generated from the ports with
the default options). To the system, it's basically the
same - and it can't even tell in _which_ way you initially
have installed something. This is because "make install"
will simply create a binary package and install it, just
what pkg would do.

Nowadays, mixing ports and pkg isn't very problematic. There
are very few "edge cases", but pkg also has methods to deal
with those. So your rule could be: Install via pkg; if it
does not work, install from ports. As I said, it doesn't
really make a difference. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141208010937.0b1f1b52.freebsd>