Since I'm not using the default include mechanism that the Apache 2.0 port provides, I removed the ${PREFIX}/etc/apache2/Includes directory. When I subsequently installed IMP, instead of installing the IMP include file in that subdir, it created a new file under that name. When I then tried to upgrade the www/apache20 port (through portupgrade or manually), the install target failed to create a new Includes directory because the file was in the way. The IMP port should not create a file where a directory is expected. With the patch, the install fails with an appropriate error message: ===> imp-4.0.4_1 depends on file: /usr/local/bin/deliverquota - found ===> imp-4.0.4_1 depends on file: /usr/local/sbin/apxs - found ===> Generating temporary packing list ===> Checking if mail/imp already installed install: /usr/local/etc/apache2/Includes/: No such file or directory *** Error code 71 Stop in /usr/ports/mail/imp. Fix: $ diff -u Makefile.orig Makefile How-To-Repeat: 1. Install www/apache20 2. rmdir ${PREFIX}/etc/apache2/Includes 3. Install mail/imp 4. Re-install www/apache20
Responsible Changed From-To: freebsd-ports-bugs->thierry Over to maintainer
State Changed From-To: open->closed Committed, thanks. Note: you should not remove a directory created by a port, when you will upgrade Apache, it will be recreated.