pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xorg-cf-files Fix rpath usage on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/936aaa29d33f
branches:  trunk
changeset: 538044:936aaa29d33f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 25 18:55:02 2008 +0000

description:
Fix rpath usage on Linux.

diffstat:

 x11/xorg-cf-files/Makefile         |   4 ++--
 x11/xorg-cf-files/distinfo         |   3 ++-
 x11/xorg-cf-files/patches/patch-aj |  34 ++++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 3 deletions(-)

diffs (66 lines):

diff -r bfc0426149eb -r 936aaa29d33f x11/xorg-cf-files/Makefile
--- a/x11/xorg-cf-files/Makefile        Fri Jan 25 18:41:08 2008 +0000
+++ b/x11/xorg-cf-files/Makefile        Fri Jan 25 18:55:02 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/01/12 21:19:34 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/01/25 18:55:02 joerg Exp $
 #
 
 DISTNAME=              xorg-cf-files-1.0.2
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            x11 devel
 MASTER_SITES=          http://xorg.freedesktop.org/releases/individual/util/
 EXTRACT_SUFX=          .tar.bz2
diff -r bfc0426149eb -r 936aaa29d33f x11/xorg-cf-files/distinfo
--- a/x11/xorg-cf-files/distinfo        Fri Jan 25 18:41:08 2008 +0000
+++ b/x11/xorg-cf-files/distinfo        Fri Jan 25 18:55:02 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/01/12 21:57:04 joerg Exp $
+$NetBSD: distinfo,v 1.5 2008/01/25 18:55:02 joerg Exp $
 
 SHA1 (xorg-cf-files-1.0.2.tar.bz2) = a1182e1fd05a648e6282598a355b7c4be9339755
 RMD160 (xorg-cf-files-1.0.2.tar.bz2) = dc42aa06d7fb5bc073d51958763bf1bfcfd22926
@@ -12,3 +12,4 @@
 SHA1 (patch-ag) = f2e665cc6e67cf2f687652b9adeab0a0de816729
 SHA1 (patch-ah) = f329f44a81c49ba66e8da197ab99a53172a1d247
 SHA1 (patch-ai) = a0795dcd3442471a58c77c667b3eeb50d7bb47bb
+SHA1 (patch-aj) = 5060968a789b0cf2568e4b3eb71d9e988d7f3d9e
diff -r bfc0426149eb -r 936aaa29d33f x11/xorg-cf-files/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xorg-cf-files/patches/patch-aj        Fri Jan 25 18:55:02 2008 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aj,v 1.1 2008/01/25 18:55:02 joerg Exp $
+
+Force Rpath usage on Linux. For reasons analysed in details,
+the binutils detection seems to fail.
+
+--- lnxLib.rules.orig  2004-04-23 20:41:58.000000000 +0200
++++ lnxLib.rules
+@@ -12,7 +12,7 @@ XCOMM $XFree86: xc/config/cf/lnxLib.rule
+ #endif
+ 
+ #ifndef UseRpath
+-#define UseRpath NO
++#define UseRpath YES
+ #endif
+ 
+ #ifndef SharedOldX
+@@ -87,17 +87,7 @@ XCOMM $XFree86: xc/config/cf/lnxLib.rule
+ #  define PositionIndependentCplusplusFlags -fPIC
+ # endif
+ # ifndef ExtraLoadFlags
+-#  if LinuxBinUtilsMajorVersion >= 26
+-#   ifdef UseInstalled
+-#    if LinuxBinUtilsMajorVersion < 27
+-#     define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(USRLIBDIRPATH)
+-#    endif
+-#   else
+ #    define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
+-#   endif
+-#  else
+-#   define ExtraLoadFlags RpathLoadFlags
+-#  endif
+ # endif
+ # ifndef HardCodeLibdirFlag
+ #  define HardCodeLibdirFlag RpathLoadFlags



Home | Main Index | Thread Index | Old Index