Package: dh-make-php
Version: 0.2.16
Severity: important

pear.mk contains:

                -d php_bin=/usr/bin/php \
                -d bin_dir=/usr/bin \
                -d php_dir=/usr/share/php \
                -d data_dir=/usr/share/php/data \
                -d doc_dir=/usr/share/php/docs \
                -d test_dir=/usr/share/php/tests \

however php-pear has:

PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/php/doc
PHP extension directory        ext_dir          /usr/lib/php5/20090626
PEAR directory                 php_dir          /usr/share/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/share/php/cfg
PEAR data directory            data_dir         /usr/share/php/data
PEAR Installer download        download_dir     
/tmp/buildd/php5-5.3.6/pear-build-download
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/php/test
PEAR www files directory       www_dir          /usr/share/php/htdocs

I suggest to drop the lines from the pear.mk and rely on the php-pear values or 
read it with $(shell pear config-get <variable>)

Also you probably want something like this:

PEAR_OLD_DOC_DIR=$(shell pear config-get doc_dir)/$(PEAR_PKG)
PEAR_OLD_TEST_DIR=$(shell pear config-get test_dir)/$(PEAR_PKG)/$(PEAR_TEST_DIR)

O.
-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-php depends on:
ii  cdbs                    0.4.89           common build system for Debian pac
ii  php-pear                5.3.3-7+squeeze1 PEAR - PHP Extension and Applicati
ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p

dh-make-php recommends no packages.

dh-make-php suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to