pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler call the C compiler as 'xlc' so libtool mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1231039b41ba
branches: trunk
changeset: 481531:1231039b41ba
user: grant <grant%pkgsrc.org@localhost>
date: Wed Oct 06 13:56:46 2004 +0000
description:
call the C compiler as 'xlc' so libtool mostly DTRT.
diffstat:
mk/compiler/xlc.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 835d4a6535f2 -r 1231039b41ba mk/compiler/xlc.mk
--- a/mk/compiler/xlc.mk Wed Oct 06 11:42:12 2004 +0000
+++ b/mk/compiler/xlc.mk Wed Oct 06 13:56:46 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xlc.mk,v 1.1 2004/10/06 09:49:53 grant Exp $
+# $NetBSD: xlc.mk,v 1.2 2004/10/06 13:56:46 grant Exp $
.if !defined(COMPILER_XLC_MK)
COMPILER_XLC_MK= defined
@@ -19,8 +19,8 @@
_XLC_DIR= ${WRKDIR}/.xlc
_XLC_LINKS= # empty
-.if exists(${XLCBASE}/bin/cc)
-_XLC_CC= ${_XLC_DIR}/bin/cc
+.if exists(${XLCBASE}/bin/xlc)
+_XLC_CC= ${_XLC_DIR}/bin/xlc
_XLC_LINKS+= _XLC_CC
PKG_CC= ${_XLC_CC}
CC= ${PKG_CC:T}
@@ -32,8 +32,8 @@
CXX= ${PKG_CXX:T}
.endif
-.if exists(${XLCBASE}/bin/cc)
-CC_VERSION_STRING!= ${XLCBASE}/bin/cc -V 2>&1 | ${GREP} 'IBM XL C.*for' | ${SED} -e 's/^ *//' || ${TRUE}
+.if exists(${XLCBASE}/bin/xlc)
+CC_VERSION_STRING!= ${XLCBASE}/bin/xlc -V 2>&1 | ${GREP} 'IBM XL C.*for' | ${SED} -e 's/^ *//' || ${TRUE}
CC_VERSION= ${CC_VERSION_STRING}
.else
CC_VERSION_STRING?= ${CC_VERSION}
Home |
Main Index |
Thread Index |
Old Index