pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler ":H", not ":T", is the correct make variab...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ca71d428980e
branches: trunk
changeset: 467604:ca71d428980e
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Feb 03 21:51:45 2004 +0000
description:
":H", not ":T", is the correct make variable modifier to get everything
except the final component of a path.
diffstat:
mk/compiler/gcc.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 25fdda80e577 -r ca71d428980e mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Tue Feb 03 21:50:29 2004 +0000
+++ b/mk/compiler/gcc.mk Tue Feb 03 21:51:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.19 2004/02/03 21:48:14 jlam Exp $
+# $NetBSD: gcc.mk,v 1.20 2004/02/03 21:51:45 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -200,7 +200,7 @@
# link against gcc shared libs.
#
. if !empty(_CC:M${LOCALBASE}/*)
-_GCC_SUBPREFIX= ${_CC:T:S/\/bin$//:S/${LOCALBASE}\///:S/${LOCALBASE}//}/
+_GCC_SUBPREFIX= ${_CC:H:S/\/bin$//:S/${LOCALBASE}\///:S/${LOCALBASE}//}/
. else
_GCC_SUBPREFIX!= \
if ${PKG_INFO} -qe ${_GCC_PKGBASE}; then \
Home |
Main Index |
Thread Index |
Old Index