summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-04-02 08:22:03 +0000
committerjperkin <jperkin>2016-04-02 08:22:03 +0000
commitd245db553522f2722a39fc2e5c4fd65276510c69 (patch)
treefbb6500a318a48103f17987f650acee7134d105f /lang
parentd53dfa371dd07bb49924752b6317606dddf32f7c (diff)
downloadpkgsrc-d245db553522f2722a39fc2e5c4fd65276510c69.tar.gz
Ensure destination directory is precreated. Fixes some pax failures.
Diffstat (limited to 'lang')
-rw-r--r--lang/php/pear.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index 69833480d4b..93c4b75f342 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.28 2016/02/29 19:26:53 jperkin Exp $
+# $NetBSD: pear.mk,v 1.29 2016/04/02 08:22:03 jperkin Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -86,6 +86,7 @@ do-install:
PLIST_SUBST+= PEAR_LIB=${PEAR_LIB:Q}
do-install:
+ ${MKDIR} ${DESTDIR}${PREFIX}/${PEAR_LIB}
cd ${WRKSRC}/lib && ${PAX} -wr * ${DESTDIR}${PREFIX}/${PEAR_LIB}/
.endif