Bug 211953 - r420340 breaks installation and packaging of empty directories
Summary: r420340 breaks installation and packaging of empty directories
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 20:55 UTC by Dimitry Andric
Modified: 2016-08-17 21:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2016-08-17 20:55:18 UTC
I just got bitten by a nasty side effect of r420340 [1] ("Move USE_BDB
and PLIST_DIRSTRY to the unsupported section, all the ports have been
converted").

The effect is that empty directories don't get installed or packaged
anymore, and this can lead to all kinds of interesting errors.  In my
case, for example, xmlcatmgr failed to install correctly, because it
couldn't find /usr/local/share/xml.

It looks like r420340 erroneously removes usage of ${PLIST_DIRS}, and so the PLIST_DIRS do not end up in the .PLIST.mktmp files anymore.

This needs to be fixed ASAP, since it breaks many packages.

[1] https://svnweb.freebsd.org/ports?view=revision&revision=420340
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-08-17 21:07:54 UTC
A commit references this bug:

Author: mat
Date: Wed Aug 17 21:07:22 UTC 2016
New revision: 420372
URL: https://svnweb.freebsd.org/changeset/ports/420372

Log:
  Put back PLIST_DIRS handling.

  My eyes were playing tricks on me.

  PR:		211953
  Reported by:	dim
  Pointy hat:	mat
  Sponsored by:	Absolight

Changes:
  head/Mk/bsd.port.mk