diff options
author | jlam <jlam> | 2002-08-23 00:27:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-23 00:27:59 +0000 |
commit | 61a2ea751463999ca799e03457ddf24c6e4765ca (patch) | |
tree | 056483ba0d4218c810d4cd22753d23f7f97a33bd /mk | |
parent | a9c79d494ab47317b978f3946a649ad12993cba0 (diff) | |
download | pkgsrc-61a2ea751463999ca799e03457ddf24c6e4765ca.tar.gz |
Create the include and lib buildlink dirs so that Darwin's compiler won't
complain on stdout (!) when -I or -L args are passed to it and break
scripts that check for output.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index b06c1f932f5..c8de97ca92b 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.3 2002/08/22 20:20:33 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.4 2002/08/23 00:27:59 jlam Exp $ # # An example package buildlink2.mk file: # @@ -85,6 +85,15 @@ ${_BUILDLINK_DEPMETHOD.${_pkg_}}+= \ . endif .endfor +# 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. +# +do-buildlink: buildlink-directories +buildlink-directories: + ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${BUILDLINK_DIR}/include + ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${BUILDLINK_DIR}/lib + # Add each of the *-buildlink targets as a prerequisite for the # buildlink target. This ensures that the symlinks are created # before any configure scripts or build commands are called. |