Force the installation of packages so we can create packages even

if a specific pear- package is already installed on the system.
This commit also disables the dependency tracking while installing
pear packages with the ports tree.
This commit is contained in:
robert 2008-10-26 15:20:51 +00:00
parent 8ef4a31d6f
commit c918f6eecf

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.pear,v 1.2 2007/03/20 11:12:22 robert Exp $
# $OpenBSD: Makefile.pear,v 1.3 2008/10/26 15:20:51 robert Exp $
# Default Makefile to install a PHP PEAR module
default:
@ -6,7 +6,7 @@ default:
install:
cp ${WRKDIR}/package.xml ${.CURDIR}
mkdir -p ${PREFIX}/lib/php
${LOCALBASE}/bin/pear install -R ${WRKINST} -n ${.CURDIR}/package.xml
${LOCALBASE}/bin/pear install -f -n -R ${WRKINST} -n ${.CURDIR}/package.xml
# These directories and files are not needed
@cd ${WRKINST}/var/www/pear && rm -rf cache lib/.channels lib/.channels/__uri.reg \