do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/textproc/gawk/pkg.conf

ports/textproc/gawk/pkg.conf


pkg_name="gawk"
pkg_license="gpl-3.0"
pkg_ver="git"
pkg_tags="awk"
pkg_pref="30"
# NOT pkg_conflicts="onetrueawk" (what this used to be): the two only
# genuinely collide on one file, $MP_PREFIX/bin/awk, and that's no
# longer unconditional -- see add.sh's own USE_own_awk_symlink comment.
# off by default (the common case: gawk installed as some OTHER port's
# own specific, named dependency -- compilers/gcc's own real, confirmed
# need for it, "gawk: not found" building otherwise -- not as this
# system's own chosen %awk provider), gawk and onetrueawk coexist fine:
# gawk installs only "gawk" itself, onetrueawk keeps owning "awk"
# undisturbed. a blanket package-level conflict would incorrectly
# forbid exactly that, the one case this flag exists for -- mp's own
# generic file-conflict detector (reference/troubleshooting.html's own
# "conflicts with ... on installed files" entry) is the correct,
# precise safety net for the one real remaining collision case
# (USE_own_awk_symlink turned on while onetrueawk is also installed),
# not a static declaration here.
#
# %yacc, not a hard gnu-bison dep: gawk's own grammar (awkgram.y,
# checked directly) uses zero bison-specific directives -- plain
# %token/%left/%right/%type only -- so build-tools/byacc (this tree's
# own default %yacc provider, see its own pkg.conf) builds it exactly
# as well, at a fraction of gnu-bison's own autoconf/automake/libtool/
# gettext/gperf/texinfo/help2man dependency chain.
pkg_deps="gnu-autoconf gnu-automake gnu-libtool %yacc gnu-gettext"
 
# onetrueawk, build-only (pkg_bdepend, not pkg_deps): gawk's own
# ./bootstrap.sh and ./configure -- not just "make install" -- shell
# out to a bare "awk" as part of building/configuring ITSELF, same
# bootstrapping need build-tools/byacc's own %awk pkg_deps already
# covers, confirmed the hard way here too ("./config.status: line
# 1170: awk: not found") the moment this system had genuinely nothing
# else providing "awk" during a real remove-then-rebuild cycle (own
# USE_own_awk_symlink dropped along with everything else the instant
# del.sh's own "make uninstall" ran, and busybox's own awk applet is
# compiled out entirely once USE_awk defers to a real provider --
# see coreutils/busybox's own pkg_use). specifically "onetrueawk" by
# name, not a generic "%awk" dependency: gawk itself is ALSO a %awk
# provider, and depending on the tag it provides risks the resolver
# considering gawk its own candidate -- naming onetrueawk directly
# sidesteps that entirely, no self-reference possible. bdepend (not a
# permanent pkg_deps) because nothing about gawk's own RUNTIME needs
# it once built -- own_awk_symlink means gawk ends up owning "awk"
# itself regardless of whether onetrueawk stays installed afterward.
pkg_bdepend="onetrueawk"
powered by btf.