summaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-20 17:52:57 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-20 17:52:57 +0000
commit9b71492f256d399c36402aa8d522360e9414be6b (patch)
tree1ac5f34bcb25b9dde0f166b3c1e257e82d7aa17c /sysutils/xosview
parentad3d5daf39137a02461f804c3da99b9e510b3cc0 (diff)
downloadpkgsrc-9b71492f256d399c36402aa8d522360e9414be6b.tar.gz
Pass rpath options with -Wl prefix.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r--sysutils/xosview/distinfo3
-rw-r--r--sysutils/xosview/patches/patch-configure24
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo
index 1a4382b5bec..ccfd77ffe4a 100644
--- a/sysutils/xosview/distinfo
+++ b/sysutils/xosview/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2013/01/11 23:33:35 joerg Exp $
+$NetBSD: distinfo,v 1.27 2013/10/20 17:52:58 joerg Exp $
SHA1 (xosview-1.8.3.tar.gz) = 420fd0620ff9fb9ba83fc833eeb8b872414e377e
RMD160 (xosview-1.8.3.tar.gz) = 595e812dee686ccaa5d95eb537782679d752271b
@@ -9,5 +9,6 @@ SHA1 (patch-ac) = 3e9073c4ccd7e08d29a76b08f2ed0c7f9f9d9ede
SHA1 (patch-ad) = 02ae8395e200e5cbf8d6339eced33fe5aa421d38
SHA1 (patch-ae) = 6ff69eeffd40ec4ee3686f2069fd46853f346fff
SHA1 (patch-af) = c556f02c7d8297968a78eb087f413f9472371c54
+SHA1 (patch-configure) = 903afa94aeee2d687f0341c08bca7b163849249d
SHA1 (patch-linux_lmstemp.cc) = d46c27884963901d0e5f5bed7cc880dc7fddc01c
SHA1 (patch-sunos5_diskmeter.cc) = 99e119cb645c9982f2a116950ac2ffe84eeff1d4
diff --git a/sysutils/xosview/patches/patch-configure b/sysutils/xosview/patches/patch-configure
new file mode 100644
index 00000000000..f169d657da7
--- /dev/null
+++ b/sysutils/xosview/patches/patch-configure
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2013/10/20 17:52:58 joerg Exp $
+
+--- configure.orig 2013-10-18 22:56:10.000000000 +0000
++++ configure
+@@ -3327,8 +3327,8 @@ linux*)
+ LIBS="-L$x_libraries $LIBS"
+ ELF_LINK_FLAGS="" ;;
+ *)
+- LIBS="-L$x_libraries -R$x_libraries $LIBS"
+- ELF_LINK_FLAGS="-Wl,-R$x_libraries" ;;
++ LIBS="-L$x_libraries ${COMPILER_RPATH_FLAG}$x_libraries $LIBS"
++ ELF_LINK_FLAGS="${COMPILER_RPATH_FLAG}$x_libraries" ;;
+ esac
+
+
+@@ -5254,7 +5254,7 @@ solaris2*)
+
+ EXTRA_CXXFLAGS="-Wall -O4"
+
+- EXTRALIBS="-R$x_libraries -lsocket -lnsl -lkstat $XPMLIB"
++ EXTRALIBS="${COMPILER_RPATH_FLAG}$x_libraries -lsocket -lnsl -lkstat $XPMLIB"
+ host_dir=sunos5
+ host_os=sunos5 ;;
+ *) { { echo "$as_me:$LINENO: error: xosview has not been ported to $host_os :(. Sorry." >&5