ports/111014: www/joomla - pkg-plist not using %%JOOMLA_DIR%% for substitutions

Scot Hetzel swhetzel at gmail.com
Thu Mar 29 16:40:04 UTC 2007


>Number:         111014
>Category:       ports
>Synopsis:       www/joomla - pkg-plist not using %%JOOMLA_DIR%% for substitutions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 29 16:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        7.0-CURRENT
>Organization:
>Environment:
>Description:
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?)

>How-To-Repeat:
make install JOOMLA_DIR=www/joomla_test
make deinstall


>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 at www/joomla@%%JOOMLA_DIR%%@" pkg-plist
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list