contrib/pkgconf
2021-03-13 15:49:58 +00:00
..
.footprint pkgconf: updated footprint 2021-03-13 15:49:58 +00:00
.signature pkgconf: updated footprint 2021-03-13 15:49:58 +00:00
i686-pc-linux-gnu.personality pkgconf: adopted port 2021-02-24 10:33:54 +00:00
Pkgfile pkgconf: adopted port 2021-02-24 10:33:54 +00:00
README pkgconf: adopted port 2021-02-24 10:33:54 +00:00
x86_64-pc-linux-gnu.personality pkgconf: adopted port 2021-02-24 10:33:54 +00:00

# Part 1:

Please read up on the following ticket:
https://todo.sr.ht/~kaniini/pkgconf/1

The gist: since we exchange pkg-config for pkgconf here, this should not be a
problem, still, this is not 'nice'.

# Part 2:

#!/bin/sh
#
# This was originally my post-install for this port!
# pkgconf and pkg-config are not meant to co-exist, but
# the decision to swap them out is only yours to make! 
# Please review the consequences of this script!

alias="pkgconf: pkg-config"

if [ -z "$(grep "$alias" /var/lib/pkg/prt-get.aliases)" ]; then
	echo "$alias" >> /var/lib/pkg/prt-get.aliases
fi