Difference between revisions of "User:Wjn"

From Funtoo
Jump to navigation Jump to search
(Created page with "== Note == === Funtoo specific matter === ==== pkg-config ==== Funtoo's pkg-config implement is [https://github.com/pkgconf/pkgconf pkgconf] only, though Gentoo has origina...")
 
 
Line 1: Line 1:
== Note ==
== Note ==


=== Funtoo specific matter ===
=== Funtoo specific matters ===
 
==== package.mask in Portage tree====
 
There is package.mask in the gentoo repository (a.k.a. "Portage tree") as well as in /etc/portage/.
( ${PORTDIR}/profiles/package.mask )
 
package.mask in Gentoo's Portage tree is one file,
Funtoo's is a directory.
In Funtoo, more packages are masked. (And also there are removed package versions.)
Gentoo's package.mask is renamed as profiles/package.mask/00-gentoo in Funtoo.
 
To know why a package is masked, grep is sometimes useful like
 
$ grep -C4 -R foo/bar ${PORTDIR}/profiles/package.mask/


==== pkg-config ====
==== pkg-config ====

Latest revision as of 23:00, February 8, 2016

Note

Funtoo specific matters

package.mask in Portage tree

There is package.mask in the gentoo repository (a.k.a. "Portage tree") as well as in /etc/portage/. ( ${PORTDIR}/profiles/package.mask )

package.mask in Gentoo's Portage tree is one file, Funtoo's is a directory. In Funtoo, more packages are masked. (And also there are removed package versions.) Gentoo's package.mask is renamed as profiles/package.mask/00-gentoo in Funtoo.

To know why a package is masked, grep is sometimes useful like

$ grep -C4 -R foo/bar ${PORTDIR}/profiles/package.mask/

pkg-config

Funtoo's pkg-config implement is pkgconf only, though Gentoo has original pkg-config, pkgconf and pkgconfig-openbsd. (See virtual/pkgconfig )

dev-util/pkgconf[pkg-config] makes a symbolic link of /usr/bin/pkg-config . This symlink will work in most cases.

But the more proper workaround is setting ${PKG_CONFIG} environment variable.

$ export PKG_CONFIG="/usr/bin/pkgconf"

See upstream https://github.com/pkgconf/pkgconf