Trying to locate the "c" sources of pkg & pkg-static

:oops:. It's not a source, but several files that use libpkg. Move your eyes and your fingers, and you will see them. Again, read the make files, but those of the pkg github.
 
The port pulls the source archive from GitHub as per the port's Makefile. What exactly are you looking for?
 
Thanks alot. Note, i don't understand porters handbook yet, but i'm learning.
Maybe i'll try a make with debug.
 
Note that pulling sources from GitHub is a special case that has convenience shortcuts built into the ports framework so it's not entirely obvious what's going on at first glance.
 
  • Like
Reactions: mer
Since USE_GITHUB=yes, the source code is fetched according to GH_ACCOUNT, GH_PROJECT (default is PORTNAME), and DISTVERSION.
See /usr/ports/Mk/bsd.sites.mk.
 
Back
Top