pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler Do previous in a different way to avoid ma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ead955d2b87a
branches:  trunk
changeset: 467608:ead955d2b87a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Feb 03 22:31:33 2004 +0000

description:
Do previous in a different way to avoid make errors.

diffstat:

 mk/compiler/gcc.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r eaad0d8aa5de -r ead955d2b87a mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Tue Feb 03 21:56:40 2004 +0000
+++ b/mk/compiler/gcc.mk        Tue Feb 03 22:31:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.21 2004/02/03 21:56:40 jlam Exp $
+# $NetBSD: gcc.mk,v 1.22 2004/02/03 22:31:33 jlam Exp $
 
 .if !defined(COMPILER_GCC_MK)
 COMPILER_GCC_MK=       defined
@@ -218,8 +218,9 @@
        else                                                            \
                ${ECHO} "not_found";                                    \
        fi
+_GCC_LIBDIRS=  ${_GCC_ARCHDIR} ${_GCC_PREFIX}lib
 _GCC_LDFLAGS=  # empty
-.  for _dir_ in ${_GCC_ARCHDIR} ${_GCC_PREFIX}lib
+.  for _dir_ in ${_GCC_LIBDIRS:N*not_found*}
 .    if empty(_dir_:M*not_found*)
 _GCC_LDFLAGS+= -L${_dir_} ${_COMPILER_LD_FLAG}${RPATH_FLAG}${_dir_}
 .    endif



Home | Main Index | Thread Index | Old Index