summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-12-12 09:41:14 +0000
committerjdolecek <jdolecek>2004-12-12 09:41:14 +0000
commit61bcd96d8e2130974605b2611dd2908e9557b450 (patch)
treee14afc78abf6a69041d308584e65f098709219c7
parent2d271692e48d6ade3e57dd38ad9826f8dcb213ec (diff)
downloadpkgsrc-61bcd96d8e2130974605b2611dd2908e9557b450.tar.gz
abort do-install if pear install fails
-rw-r--r--lang/php/pear.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index befa131cd53..505734d64ea 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.3 2004/11/27 12:55:25 jdolecek Exp $
+# $NetBSD: pear.mk,v 1.4 2004/12/12 09:41:14 jdolecek Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -52,7 +52,7 @@ post-extract:
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml
do-install:
- cd ${WRKSRC} && ${PEAR_CMD} install package.xml
+ cd ${WRKSRC} && ${PEAR_CMD} install package.xml || exit 1
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"