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: Matthias Kilian (kilioutback.escape.de)
Date: Tue May 16 2006 - 14:55:46 CDT


On Tue, May 16, 2006 at 09:16:45PM +0200, Andreas Maus wrote:
> 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.

-mp3 is a SUBPACKAGE of xmms. Watch out for things like COMMENT-foo,
PKGNAME-foo, MULTI_PACKAGES=-foo (or +=-foo) in the port's Makefile
and have a look at bsd.port.mk(5), section "FLAVORS AND MULTIPACKAGES".

When building and installing from ports, you can explicitely set
SUBPACKAGE when running make, e.g.:

$ SUBPACKAGE=-mp3 make install

HTH

Ciao,
        Kili