When installing the port, you have the option of specifying an alternate JOOMLA_DIR (default: www/joomla). The problem is that the pkg-plist doesn't record the correct location of the installed files, when an alternate JOOMLA_DIR is specified. make install JOOMLA_DIR=www/joomla_test pkg_delete joomla-1.0.12 : pkg_delete: file '/usr/local/www/joomla' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/www/joomla' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Fix: Since the port already adds JOOMLA_DIR to PLIST_SUB, the only thing that needs to be patched is pkg-plist: sed -i .bak -e "s@www/joomla@%%JOOMLA_DIR%%@" pkg-plist How-To-Repeat: make install JOOMLA_DIR=www/joomla_test make deinstall
State Changed From-To: open->feedback Awaiting maintainers feedback
Responsible Changed From-To: freebsd-ports-bugs->lwhsu I'll take it.
lwhsu 2007-06-23 11:41:46 UTC FreeBSD ports repository Modified files: www/joomla Makefile pkg-plist www/joomla/files pkg-message.in Log: - Use WWWDIR, to solve the problem described in [1] - Solve fetch problem [2] PR: ports/111014 [1], ports/112012 [2] (base on these two) Submitted by: Scot Hetzel <swhetzel AT gmail.com> [1] Craig Butler <craig001 AT lerwick.hopto.org> [2] Approved by: "Francisco Cabrita <include>" <include AT npf.pt.freebsd.org> (maintainer) Revision Changes Path 1.13 +11 -16 ports/www/joomla/Makefile 1.2 +1 -1 ports/www/joomla/files/pkg-message.in 1.10 +1997 -1997 ports/www/joomla/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Solved in ports/112012.