this makes dirrmtry handling quite close to the pkg(8) support and will simplify tons of makefiles
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Mk/bsd.port.mk | ||
---|---|---|
1594 | You can remove that line too, no ? |
Keywords/pkg_install.awk | ||
---|---|---|
90 | check-stagedir.sh expects some double quotes around the directory removed: 199 awk_script=$(cat <<'EOF' 200 /Deinstall directory remove:/ {print $4} 201 /UNEXEC 'rmdir "[^"]*" 2>\/dev\/null \|\| true'/ { 202 gsub(/"%D\//, "\"", $0) |
Comment Actions
- Fix when PREFIX!=LOCALBASE, rmdir %D/%D was put in plist
- Do not put some dirs belonging to python ports when PREFIX=LOCALBASE
Note: the patch will have to be exp-run with pkgng too because of the @unexec rmdir -> @dirrmtry changes
(it broke databases/py-sqlite3 for instance, but the python workaround fixes it when PREFIX=LOCALBASE)