pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk g/c FIX_RPATH, it is broken and no longer required ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/608e3ee9c034
branches:  trunk
changeset: 464375:608e3ee9c034
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 07 22:47:16 2003 +0000

description:
g/c FIX_RPATH, it is broken and no longer required for Darwin, which
was the only platform where it was being used.

diffstat:

 mk/bsd.pkg.mk        |  20 +-------------------
 mk/xaw.buildlink2.mk |   3 +--
 2 files changed, 2 insertions(+), 21 deletions(-)

diffs (67 lines):

diff -r b8f1182e89b9 -r 608e3ee9c034 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Dec 07 19:18:51 2003 +0000
+++ b/mk/bsd.pkg.mk     Sun Dec 07 22:47:16 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1315 2003/12/06 18:47:45 cube Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1316 2003/12/07 22:47:16 grant Exp $
 #
 # This file is in the public domain.
 #
@@ -410,12 +410,8 @@
 
 DISTINFO_FILE?=                ${.CURDIR}/distinfo
 
-FIX_RPATH+=            LIBS
 .if defined(USE_X11)
-X11_LDFLAGS=           # empty
-.  if empty(_USE_RPATH:M[nN][oO])
 X11_LDFLAGS+=          -Wl,${RPATH_FLAG}${X11BASE}/lib
-.  endif
 X11_LDFLAGS+=          -L${X11BASE}/lib
 .endif
 .if !empty(USE_BUILDLINK2:M[nN][oO]) && !empty(USE_BUILDLINK3:M[nN][oO])
@@ -425,7 +421,6 @@
 LDFLAGS+=              ${X11_LDFLAGS}
 .  endif
 .endif
-FIX_RPATH+=            LDFLAGS
 MAKE_ENV+=             LDFLAGS="${LDFLAGS}"
 MAKE_ENV+=             RPATH_FLAG="${RPATH_FLAG}"
 MAKE_ENV+=             WHOLE_ARCHIVE_FLAG="${WHOLE_ARCHIVE_FLAG}"
@@ -869,19 +864,6 @@
 .  endif
 .endif
 
-# FIX_RPATH will remove compiler or linker settings related to run-time
-# library search path settings if _USE_RPATH is "no".
-#
-.if !empty(_USE_RPATH:M[nN][oO])
-.  if defined(FIX_RPATH) && !empty(FIX_RPATH)
-.    for var in ${FIX_RPATH}
-.      for _rpath_flag in ${RPATH_FLAG} -R -rpath -rpath-link --rpath --rpath-link
-${var}:=       ${${var}:N-Wl,${_rpath_flag}*:N${_rpath_flag}*}
-.      endfor
-.    endfor
-.  endif
-.endif
-
 .if defined(EVAL_PREFIX)
 .  for def in ${EVAL_PREFIX}
 .    if !defined(${def:C/=.*//}_DEFAULT)
diff -r b8f1182e89b9 -r 608e3ee9c034 mk/xaw.buildlink2.mk
--- a/mk/xaw.buildlink2.mk      Sun Dec 07 19:18:51 2003 +0000
+++ b/mk/xaw.buildlink2.mk      Sun Dec 07 22:47:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xaw.buildlink2.mk,v 1.11 2003/11/11 00:48:44 danw Exp $
+# $NetBSD: xaw.buildlink2.mk,v 1.12 2003/12/07 22:47:16 grant Exp $
 
 .if !defined(XAW_BUILDLINK2_MK)
 XAW_BUILDLINK2_MK=     # defined
@@ -22,7 +22,6 @@
 LIBXAW?=               -L${X11BASE}/lib${ABI} -Wl,${RPATH_FLAG}${X11BASE}/lib${ABI} -lXaw
 .endif
 
-FIX_RPATH+=    LIBXAW
 MAKE_ENV+=     LIBXAW="${LIBXAW}"
 
 .endif # XAW_BUILDLINK2_MK



Home | Main Index | Thread Index | Old Index