pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 USE_{SUNPRO,MIPSPRO} are deprecated... c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c0fecbf0805
branches: trunk
changeset: 467481:5c0fecbf0805
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Feb 01 12:04:13 2004 +0000
description:
USE_{SUNPRO,MIPSPRO} are deprecated... check PKGSRC_COMPILER instead.
Also remove unneeded section on OS-specific wrappers that's handled
automatically nowadays by pkgsrc/bl3.
diffstat:
mk/buildlink3/bsd.buildlink3.mk | 25 +++++--------------------
1 files changed, 5 insertions(+), 20 deletions(-)
diffs (61 lines):
diff -r 2d89f5b9dd2b -r 5c0fecbf0805 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Sun Feb 01 11:29:45 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Sun Feb 01 12:04:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.66 2004/01/31 22:00:51 recht Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.67 2004/02/01 12:04:13 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -1051,7 +1051,7 @@
# We need to "unbuildlinkify" any libtool archives.
_BLNK_WRAP_LT_UNTRANSFORM_SED= ${_UNBUILDLINK_SED}
-.if defined(USE_MIPSPRO)
+.if !empty(PKGSRC_COMPILER:Mmipspro)
_BLNK_WRAP_PRIVATE_PRE_CACHE.CC= ${_BLNK_WRAP_PRE_CACHE}
_BLNK_WRAP_PRIVATE_CACHE_ADD.CC= ${BUILDLINK_DIR}/bin/.mipspro-cc-cache-add
_BLNK_WRAP_PRIVATE_CACHE.CC= ${BUILDLINK_DIR}/bin/.mipspro-cc-cache
@@ -1066,9 +1066,9 @@
_BLNK_WRAP_PRIVATE_CACHE.CXX= ${BUILDLINK_DIR}/bin/.mipspro-cc-cache
_BLNK_WRAP_PRIVATE_POST_CACHE.CXX= ${BUILDLINK_DIR}/bin/.mipspro-cc-post-cache
_BLNK_WRAP_POST_LOGIC.CXX= ${BUILDLINK_DIR}/bin/.mipspro-cc-post-logic
-.endif # USE_MIPSPRO
+.endif # mipspro
-.if defined(USE_SUNPRO)
+.if !empty(PKGSRC_COMPILER:Msunpro)
_BLNK_WRAP_PRIVATE_PRE_CACHE.CC= ${_BLNK_WRAP_PRE_CACHE}
_BLNK_WRAP_PRIVATE_CACHE_ADD.CC= ${BUILDLINK_DIR}/bin/.sunpro-cc-cache-add
_BLNK_WRAP_PRIVATE_CACHE.CC= ${BUILDLINK_DIR}/bin/.sunpro-cc-cache
@@ -1083,7 +1083,7 @@
_BLNK_WRAP_PRIVATE_CACHE.CXX= ${BUILDLINK_DIR}/bin/.sunpro-cc-cache
_BLNK_WRAP_PRIVATE_POST_CACHE.CXX= ${BUILDLINK_DIR}/bin/.sunpro-cc-post-cache
_BLNK_WRAP_POST_LOGIC.CXX= ${BUILDLINK_DIR}/bin/.sunpro-cc-post-logic
-.endif # USE_SUNPRO
+.endif # sunpro
_BLNK_WRAP_PRIVATE_PRE_CACHE.LD= ${_BLNK_WRAP_PRE_CACHE}
_BLNK_WRAP_PRIVATE_CACHE_ADD.LD= ${BUILDLINK_DIR}/bin/.ld-cache-add
@@ -1252,21 +1252,6 @@
CONFIGURE_ENV+= ${BUILDLINK_ENV}
MAKE_ENV+= ${BUILDLINK_ENV}
-# OS-specific overrides for buildlink3 wrappers
-#
-.if defined(USE_SUNPRO)
-_BLNK_WRAPPEES.${_BLNK_OPSYS}?= CC CXX
-SUNWSPROBASE?= /opt/SUNWspro
-CC.${_BLNK_OPSYS}?= ${SUNWSPROBASE}/bin/cc
-CXX.${_BLNK_OPSYS}?= ${SUNWSPROBASE}/bin/CC
-.endif
-.if defined(USE_MIPSPRO)
-_BLNK_WRAPPEES.${_BLNK_OPSYS}?= CC CXX
-MIPSPROBASE?= /usr
-CC.${_BLNK_OPSYS}?= ${MIPSPROBASE}/bin/cc
-CXX.${_BLNK_OPSYS}?= ${MIPSPROBASE}/bin/CC
-.endif
-
.PHONY: buildlink-${_BLNK_OPSYS}-wrappers
buildlink-${_BLNK_OPSYS}-wrappers: buildlink-wrappers
.for _wrappee_ in ${_BLNK_WRAPPEES.${_BLNK_OPSYS}}
Home |
Main Index |
Thread Index |
Old Index