pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler G/C _GCC_ARCHSUBDIR. All references to it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cef4e1f1eb23
branches:  trunk
changeset: 467536:cef4e1f1eb23
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Feb 02 12:27:12 2004 +0000

description:
G/C _GCC_ARCHSUBDIR.  All references to it from gcc*/buildlink*.mk files
have been removed.

diffstat:

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

diffs (26 lines):

diff -r 6855d2f05ec3 -r cef4e1f1eb23 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Mon Feb 02 12:19:10 2004 +0000
+++ b/mk/compiler/gcc.mk        Mon Feb 02 12:27:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.10 2004/02/02 10:49:26 jlam Exp $
+# $NetBSD: gcc.mk,v 1.11 2004/02/02 12:27:12 jlam Exp $
 
 .if !defined(COMPILER_GCC_MK)
 COMPILER_GCC_MK=       defined
@@ -177,15 +177,12 @@
                ${ECHO} "not_found/";                                   \
        fi
 _GCC_PREFIX=           ${LOCALBASE}/${_GCC_SUBPREFIX}
-_GCC_LIBGCCDIR!=       \
+_GCC_ARCHDIR!=         \
        if [ -x ${_GCC_PREFIX}bin/gcc ]; then                           \
                ${DIRNAME} `${_GCC_PREFIX}bin/gcc --print-libgcc-file-name`; \
        else                                                            \
                ${ECHO} "not_found";                                    \
        fi
-_GCC_ARCHSUBDIR=       ${_GCC_LIBGCCDIR:S|^${LOCALBASE}/${_GCC_SUBPREFIX}||}
-_GCC_ARCHDIR=          ${_GCC_PREFIX}${_GCC_ARCHSUBDIR}
-
 _GCC_LDFLAGS=  # empty
 .for _dir_ in ${_GCC_ARCHDIR} ${_GCC_PREFIX}lib
 _GCC_LDFLAGS+= -L${_dir_} ${_COMPILER_LD_FLAG}${RPATH_FLAG}${_dir_}



Home | Main Index | Thread Index | Old Index