pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 use sanitize-rpath for SunPro again with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0cd14b4d183
branches:  trunk
changeset: 467482:a0cd14b4d183
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Feb 01 12:04:31 2004 +0000

description:
use sanitize-rpath for SunPro again with the new compiler framework.

diffstat:

 mk/buildlink2/bsd.buildlink2.mk |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 5c0fecbf0805 -r a0cd14b4d183 mk/buildlink2/bsd.buildlink2.mk
--- a/mk/buildlink2/bsd.buildlink2.mk   Sun Feb 01 12:04:13 2004 +0000
+++ b/mk/buildlink2/bsd.buildlink2.mk   Sun Feb 01 12:04:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink2.mk,v 1.106 2004/01/31 22:00:51 recht Exp $
+# $NetBSD: bsd.buildlink2.mk,v 1.107 2004/02/01 12:04:31 grant Exp $
 #
 # An example package buildlink2.mk file:
 #
@@ -390,7 +390,7 @@
 #
 .if defined(_USE_RPATH) && empty(_USE_RPATH:M[yY][eE][sS])
 _BLNK_TRANSFORM+=      no-rpath
-.elif defined(USE_SUNPRO)
+.elif !empty(PKGSRC_COMPILER:Msunpro)
 _BLNK_TRANSFORM+=      sanitize-rpath
 .endif
 _BLNK_TRANSFORM+=      ${_BLNK_UNPROTECT}
@@ -716,11 +716,10 @@
 
 # OS-specific overrides for buildlink2 wrappers
 #
-.if defined(USE_SUNPRO)
+.if !empty(PKGSRC_COMPILER:Msunpro)
 _BLNK_WRAPPEES.SunOS?= CC CXX
-SUNWSPROBASE?=         /opt/SUNWspro
-CC.SunOS?=             ${SUNWSPROBASE}/bin/cc
-CXX.SunOS?=            ${SUNWSPROBASE}/bin/CC
+CC.SunOS?=             ${CC}
+CXX.SunOS?=            ${CXX}
 .endif
 
 buildlink-${_BLNK_OPSYS}-wrappers: buildlink-wrappers



Home | Main Index | Thread Index | Old Index