summaryrefslogtreecommitdiff
path: root/pkgtools/nih
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-05-31 22:55:01 +0000
committerjlam <jlam@pkgsrc.org>2017-05-31 22:55:01 +0000
commit1736ec7d3842096a90ccd4b495c54b6112ca2a2f (patch)
tree7f75d2a479481f19d0e963e6fa99877a8233c7bc /pkgtools/nih
parent910f60a4bf41ed4bd5967ccd747e67eaa861a064 (diff)
downloadpkgsrc-1736ec7d3842096a90ccd4b495c54b6112ca2a2f.tar.gz
Move detection of shared library type into the platform file.
Only four platforms, all BSDs, need to resolve "ELF/a.out" into either ELF or a.out. Calculate it directly in the platform file and return the value in ${_OPSYS_SHLIB_TYPE} and export that value in bsd.prefs.mk as ${SHLIB_TYPE}. Instead of requiring the file(1) tool, we can expect the base system of those BSDs to have /usr/bin/file, so make use of it directly.
Diffstat (limited to 'pkgtools/nih')
0 files changed, 0 insertions, 0 deletions