OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "make install" is not the same as "pkg_add' ?

From: Jasper Lievisse Adriaanse (jaspernedbsd.nl)
Date: Tue May 16 2006 - 14:47:50 CDT


On Tue, May 16, 2006 at 09:16:45PM +0200, Andreas Maus wrote:
> Hello everbody.
>
> I'm using OpenBSD since version 3.1 (or so) usually for servers and my
> firewalls.
> Getting my IBM X40 and I installed OpenBSD 3.9 and started to build
> the packages I need
> from /usr/ports. Everything works as expected (means without any problem ;)
>
> But after installing xmms from /usr/ports/audio/xmms/ I discovered that
> xmms was
> not able to play MP3 and OGG files. After some hours of searching and
> looking around
> I found a package named xmms-mp3-*(and xmms-vorbis) in
> /usr/ports/packages/i386/all/.
>
> So I run pkg_add /usr/ports/packages/i386/all/xmms-mp3-1.2.10p6.tgz.
>
> After this pkg_add xmms was able to play MP3 files.
>
> All the years I believed that "make install" will do the same as a pkg_add.
> Now I am real confused ;)
>
> Am I missing something? Is this a bug or does it work as expected?
This is expected behaviour. Since the xmms-mp3 and xmms-ogg are subpackages.
Please refer to bsd.port.mk(5) and ports(7) for more information.

>
> Many thanks in advance.
>
> Andreas.
Cheers,
Jasper

--
Humppa is a serious thing!