diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-23 00:27:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-23 00:27:59 +0000 |
commit | 3cfe80053333d9fc96d0764128ae49a1c24cce7b (patch) | |
tree | 056483ba0d4218c810d4cd22753d23f7f97a33bd /mk | |
parent | f25b0b3df3d482435d77e20e52b1531e3f217042 (diff) | |
download | pkgsrc-3cfe80053333d9fc96d0764128ae49a1c24cce7b.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. |