summaryrefslogtreecommitdiff
path: root/security/libdes/builtin.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-11 00:32:16 +0000
committerjlam <jlam@pkgsrc.org>2004-12-11 00:32:16 +0000
commit818f5b24cf031319071b20a722410f54916122a1 (patch)
tree0b826c042d15360fd55616724039b46f0e075200 /security/libdes/builtin.mk
parentd3be16544f79d82687de9f630b90a7fa9d132982 (diff)
downloadpkgsrc-818f5b24cf031319071b20a722410f54916122a1.tar.gz
Create directories before putting files in them. This should fix
PR pkg/28480.
Diffstat (limited to 'security/libdes/builtin.mk')
-rw-r--r--security/libdes/builtin.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/libdes/builtin.mk b/security/libdes/builtin.mk
index 35a8b2504ba..d864ba4b1f0 100644
--- a/security/libdes/builtin.mk
+++ b/security/libdes/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2004/12/05 05:35:28 jlam Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/12/11 00:32:16 jlam Exp $
.if !defined(IS_BUILTIN.libdes)
IS_BUILTIN.libdes= no
@@ -20,6 +20,7 @@ buildlink-libdes-libdes-h:
dest="${BUILDLINK_DIR}/include/libdes.h"; \
src="/usr/include/des.h"; \
if ${TEST} ! -f "$$dest" -a -f "$$src"; then \
+ ${MKDIR} -p `${DIRNAME} $$dest`; \
${LN} -fs $$src $$dest; \
fi
. endif