Bug 208307

Summary: PORTDATA, PORTDOCS, PORTEXMAPLES don't track empty directories
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: ports-bugs
Priority: --- Keywords: needs-patch, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
v0 none

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.