On Wed, 15 Dec 2004 10:59:30 +0000
Alexandr <[EMAIL PROTECTED]> wrote:

> I run FreeBSD 5.3
> I free my ports tree and make this:
> 
> cd /usr/ports/www/audio/mpg123/
> make package
> 
> and get:
> ===>  Installing for mpg123-esound-0.59r_15
> ===>   mpg123-esound-0.59r_15 depends on shared library: esd.2 - found
> ===>   Generating temporary packing list
> ===>  Checking if audio/mpg123 already installed
> ===>   mpg123-esound-0.59r_15 is already installed
>       You may wish to ``make deinstall'' and install this port again
>       by ``make reinstall'' to upgrade it properly.
>       If you really wish to overwrite the old port of audio/mpg123
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1

hello alexandr,

well, the message above is a _pretty_big_hint_.  couple that with the
description of the 'package' target as found in 'man ports'...

        Make a binary package for the port.  The port will be installed if it
        has not already been.  [snip]

...and you should have a pretty good idea about why 'make package' is
not proceeding.

> Stop in /usr/ports/audio/mpg123.
> 
> I don't understand, in bsd.port.mk wrote 
> # package             - Create a package from an _installed_ port.
> but I  installed this package and wont build package
> Why 'make package' make install ???

while the various *.mk are certainly worth a read, i expect that you
will find the ports related man pages to provide clearer and more
thorough descriptions.

in the case of what you're trying to do, check out the pkg_create
manpage (-b in particular).

hope this helps.


cheers,
epi
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to