Bug 208307 - PORTDATA, PORTDOCS, PORTEXMAPLES don't track empty directories
Summary: PORTDATA, PORTDOCS, PORTEXMAPLES don't track empty directories
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2016-03-26 14:47 UTC by Jan Beich
Modified: 2016-09-08 14:15 UTC (History)
1 user (show)

See Also:


Attachments
v0 (1.67 KB, patch)
2016-03-26 14:47 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2016-03-26 14:47:24 UTC
Created attachment 168650 [details]
v0

Keep PORT* variabels abstraction simple by not forcing consumers to manipulate plist in case of empty directories somewhere in the hierarchy. Since pkg(8) won't copy empty dirs without @dir let's go beynd and remove them from STAGDIR as well.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2016-03-26 16:19:45 UTC
Do you plan to fix all the ports that will fail to package with DEVELOPER_MODE due to "duplicate directory listing: foo, fatal (developer mode)"?
Comment 2 Jan Beich freebsd_committer freebsd_triage 2016-03-26 16:51:51 UTC
Comment on attachment 168650 [details]
v0

No, the patch was mainly for illustration and needs more work.