pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46187: www/drupal6 (and 7) SUBST_SED typo



>Number:         46187
>Category:       pkg
>Synopsis:       www/drupal6 (and 7) SUBST_SED typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 13 19:15:00 +0000 2012
>Originator:     Noud de Brouwer
>Release:        6.99.3
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 6.99.3 NetBSD 6.99.3 (MONOLITHIC.UGEN) #0: Wed Feb 29 23:14:04 
UTC 2012  mickey55@10.0.2.17:/obj/sys/arch/i386/compile/MONOLITHIC.UGEN i386
>Description:
after install there is still non replaced:

10$ grep DRUPAL  /usr/pkg/etc/drupal.conf
        Alias /drupal/ "/usr/pkg/@DRUPAL@/"
<Directory "/usr/pkg/@DRUPAL@">
10$

the same fault is in www/drupal7.
>How-To-Repeat:
cd www/drupal6 && make install
>Fix:
PKGREVISION bump and:

--- Makefile.orig       2012-03-13 21:12:55.000000000 +0000
+++ Makefile    2012-03-13 21:27:57.000000000 +0000
@@ -53,7 +54,7 @@
 SUBST_STAGE.conf=      pre-install
 SUBST_FILES.conf=      drupal.conf
 SUBST_SED.conf=                -e "s|@DRUPAL@|${DRUPAL}|g"
-SUBST_SED.conf=                -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_SED.conf+=               -e "s|@PREFIX@|${PREFIX}|g"
 SUBST_MESSAGE.conf=    Fixing configuration files.
 
 INSTALLATION_DIRS+=    ${DRUPAL}/files ${DRUPAL}/sites/all \



Home | Main Index | Thread Index | Old Index