(IPS questions are better sent to pkg-discuss - I think pkgbase is defunct
 since I've seen no mail to the list in a very long time.)

Andrej Podzimek wrote:
> Is there a way to compile IPS packages from source in a way similar to
> OpenBSD's tree of makefiles or ArchLinux's PKGBUILD/makepkg? I would
> like to recompile some packages with my preferred compiler flags.

IPS doesn't have a built-in way to do so, as it's used with a wide variety
of build systems.   The packages from the ON consolidation (kernel & core
utilities) have a build system similar to the BSD-style usr/src, while those
from the Desktop/JDS consolidation have a build system similar to rpmbuild.

To rebuild a specific package, first you'll have to figure out where it came
from.   For things in the core OS, identifying the consolidation is easier
now that there's incorporations for each:

% pkg contents -t depend -o fmri,type system/kernel
FMRI                                    TYPE
[email protected]                     require
consolidation/osnet/osnet-incorporation require
system/[email protected]             require

shows that the system/kernel package is part of consolidation/osnet, also
known as ON.

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to