Hi,

net/wmnetload is build with a bogus RUNPATH path, and the elements in
the list aren't needed (all paths are standard ones). So just disable
RPATH completely.

No functional changes outside removing the bogus RUNPATH entry in ELF.

Comments or OK ?
-- 
Sebastien Marie


diff /home/semarie/repos/openbsd/ports
commit - bfc3aa1f209ab2b3deef5e1242ff12c617d46983
path + /home/semarie/repos/openbsd/ports
blob - 2edee96fb3807bfab8bb34fa01dd9da87cba8cbc
file + net/wmnetload/Makefile
--- net/wmnetload/Makefile
+++ net/wmnetload/Makefile
@@ -1,7 +1,7 @@
 COMMENT=               wm-dockapp; simple network interface monitoring tool
 
 DISTNAME=              wmnetload-1.3
-REVISION=              5
+REVISION=              6
 CATEGORIES=            net x11 x11/windowmaker
 
 HOMEPAGE=              http://freshmeat.net/projects/wmnetload
blob - 9b60c104bbfbee7c021010b4494651d35595a26a
file + net/wmnetload/patches/patch-configure
--- net/wmnetload/patches/patch-configure
+++ net/wmnetload/patches/patch-configure
@@ -1,4 +1,6 @@
-Hunk #2, 3: fix the build with libdockapp>=0.7
+- permit build on OpenBSD
+- RPATH isn't need (all paths are standard)
+- fix the build with libdockapp>=0.7
 
 Index: configure
 --- configure.orig
@@ -13,6 +15,18 @@ Index: configure
  *)
        echo ""
        echo "Sorry, $host_os is not supported yet."
+@@ -4270,10 +4273,10 @@ else
+       RPATH=
+       echo "WARNING: do not know how to set RPATH with this compiler"
+ fi
++RPATH=
+ 
+ 
+ 
+-
+ X_LIBRARY_PATH=$x_libraries
+ XCFLAGS="$X_CFLAGS"
+ XLFLAGS="$X_LIBS"
 @@ -4713,7 +4716,7 @@ cat confdefs.h >>conftest.$ac_ext
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */

Reply via email to