While working on a port I have found a problem of duplicate entries for documentation files with warning message as in the title.
In my port, docs are installed conditionally, based on the DOCS option, so I have this in Makefile:
The example doc file, file.txt, is properly installed in work/stage/usr/local/share/doc/file.txt and
What is interesting is that at later steps, work/.PLIST.mktmp contains TWO entries:
and the command
Ultimately, file.txt does not install in its destination after
Is there anything obvious that I might be missing?
In my port, docs are installed conditionally, based on the DOCS option, so I have this in Makefile:
Code:
OPTIONS_DEFINE= DOCS
make makeplist
generates a single entry for that file, for pkg-plist:
Code:
%%PORTDOCS%%%%DOCSDIR%%/file.txt
Code:
share/doc/file.txt
/usr/local/share/doc/file.txt
make package
prints:
Code:
pkg-static: duplicate file listing: /usr/local/share/doc/file.txt, ignoring
make install
.Is there anything obvious that I might be missing?