summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-24 16:15:18 +0000
committerjlam <jlam>2004-09-24 16:15:18 +0000
commitbf3c51e31dc424a92622577cf653e5a6de00fade (patch)
tree65fb900eb1b725cda68737bd492969784dd2ebc4
parent26ce4cf81246a5caf2d1989e924ec017b765dd94 (diff)
downloadpkgsrc-bf3c51e31dc424a92622577cf653e5a6de00fade.tar.gz
Create ${BUILDLINK_DIR}/bin for use by packages that need to drop off a
buildlink wrapper for an installed binary or script.
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index c46a80c04fa..b1f7734b63c 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.155 2004/09/22 17:56:31 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.156 2004/09/24 16:15:18 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -533,12 +533,15 @@ LDFLAGS+= ${_flag_}
# Create the buildlink include and lib directories so that the Darwin
# compiler/linker won't complain verbosely (on stdout, even!) when
-# those directories are passed as sub-arguments of -I and -L.
+# those directories are passed as sub-arguments of -I and -L. Also,
+# create the buildlink bin directory for use by packages that need to
+# drop off a buildlink wrapper for an installed binary or script.
#
.PHONY: buildlink-directories
do-buildlink: buildlink-directories
buildlink-directories:
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${BUILDLINK_DIR}
+ ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${BUILDLINK_BINDIR}
.if defined(USE_X11)
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${BUILDLINK_X11_DIR}
${_PKG_SILENT}${_PKG_DEBUG}${LN} -sf ${BUILDLINK_DIR} ${BUILDLINK_X11_DIR}