devel/sunifdef 3.1.3nb10 NetBSD
Tool for eliminating superfluous C preprocessor conditionals
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- devel
- Package size
- 38.4 KiB, 125.5 KiB installed
Description
Sunifdef is a commandline tool for eliminating superfluous preprocessor clutter from C and C++ source files. It is a more powerful successor to the FreeBSD 'unifdef' tool.
Sunifdef is most useful to developers of constantly evolving products with large code bases, where preprocessor conditionals are used to configure the feature sets, APIs or implementations of different releases. In these environments the code base steadily accumulates #ifdef pollution as transient configuration options become obselete. Sunifdef can largely automate the recurrent task of purging redundant #if logic from the code.
Install
Binary package:
pkgin install sunifdef
From pkgsrc:
cd /usr/pkgsrc/devel/sunifdef && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.1.3nb10 |
| NetBSD 10.1 aarch64 | 3.1.3nb10 |
| SmartOS / illumos x86_64 | 3.1.3nb10 |
| macOS 15 arm64 | 3.1.3nb10 |
Dependencies
No port depends on this one.