id summary reporter owner description type status priority milestone component version resolution keywords cc port 21066 xcb overwrites entire /etc dir bakvis_68@… qbarnes@… "I just upgraded port startup-notification to version 0.10, which pulls in port xcb (new dependency). After building there was a warning message indicating that xcb is installing something outside /opt/local: {{{ ... ---> Compressing man pages for xcb man1/xcb.1: 60.0% -- replaced with man1/xcb.1.gz Warning: violation by /etc Warning: xcb violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing xcb @2.4_1 ---> Activating xcb @2.4_1 ---> Cleaning xcb ---> Removing build directory for xcb }}} After uninstalling xcb I noticed that '''the entire /etc dir was gone! '''On Mac OS X, /etc is a symlink to /private/etc, so it was easily repaired by {{{ sudo ln -s /private/etc /etc }}} However, this is potentially very dangerous! I don't know what would have happened if I had logged out? The offending line in the Makefile (produced after configure phase) is at line 379: {{{ ETCX11DIR = /etc/X11 }}} This should be replaced by ${prefix}/etc/X11. " defect closed High ports 1.8.0 fixed nerdling xcb