[csw-devel] SF.net SVN: gar:[18418] csw/mgar/pkg/zeromq/trunk

romeotheriault at users.sourceforge.net romeotheriault at users.sourceforge.net
Fri Jun 15 05:48:58 CEST 2012


Revision: 18418
          http://gar.svn.sourceforge.net/gar/?rev=18418&view=rev
Author:   romeotheriault
Date:     2012-06-15 03:48:57 +0000 (Fri, 15 Jun 2012)
Log Message:
-----------
zeromq/trunk: patched ltmain.sh to fix stripping of run paths and added EXTRA_LINKER_FLAGS to Makefile

Modified Paths:
--------------
    csw/mgar/pkg/zeromq/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/zeromq/trunk/files/0001-Patching-ltmain.sh-to-prevent-libtool-from-stripping.patch

Modified: csw/mgar/pkg/zeromq/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zeromq/trunk/Makefile	2012-06-15 01:54:07 UTC (rev 18417)
+++ csw/mgar/pkg/zeromq/trunk/Makefile	2012-06-15 03:48:57 UTC (rev 18418)
@@ -18,15 +18,13 @@
 MASTER_SITES = http://download.zeromq.org/
 DISTFILES  = $(DISTNAME).tar.gz
 
+PATCHFILES += 0001-Patching-ltmain.sh-to-prevent-libtool-from-stripping.patch
+
 PACKAGES += CSWlibzmq1
 SPKG_DESC_CSWlibzmq1 = Software library for fast, message-based applications
 PKGFILES_CSWlibzmq1 += $(call pkgfiles_lib,libzmq.so.1.0.1)
 PKGFILES_CSWlibzmq1 += $(call pkgfiles_lib,libzmq.so.1)
 PKGFILES_CSWlibzmq1 += $(docdir)/.* 
-CHECKPKG_OVERRIDES_CSWlibzmq1 += bad-rpath-entry|/lib|opt/csw/lib/libzmq.so.1.0.1
-CHECKPKG_OVERRIDES_CSWlibzmq1 += bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/lib/libzmq.so.1.0.1
-CHECKPKG_OVERRIDES_CSWlibzmq1 += bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/lib/libzmq.so.1.0.1
-CHECKPKG_OVERRIDES_CSWlibzmq1 += bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/lib/libzmq.so.1.0.1
 
 
 PACKAGES += CSWlibzmq1-dev
@@ -37,6 +35,8 @@
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
+EXTRA_LINKER_FLAGS = -norunpath
+
 include gar/category.mk
 
 post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/libzmq1

Added: csw/mgar/pkg/zeromq/trunk/files/0001-Patching-ltmain.sh-to-prevent-libtool-from-stripping.patch
===================================================================
--- csw/mgar/pkg/zeromq/trunk/files/0001-Patching-ltmain.sh-to-prevent-libtool-from-stripping.patch	                        (rev 0)
+++ csw/mgar/pkg/zeromq/trunk/files/0001-Patching-ltmain.sh-to-prevent-libtool-from-stripping.patch	2012-06-15 03:48:57 UTC (rev 18418)
@@ -0,0 +1,25 @@
+From e91eb6ff070cb057fd63eb9444203611bda18378 Mon Sep 17 00:00:00 2001
+From: Romeo Theriault <romeotheriault at opencsw.org>
+Date: Fri, 15 Jun 2012 05:30:02 +0200
+Subject: [PATCH] Patching ltmain.sh to prevent libtool from stripping runpath
+
+---
+ config/ltmain.sh |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/config/ltmain.sh b/config/ltmain.sh
+index b4a3231..dfc39b1 100755
+--- a/config/ltmain.sh
++++ b/config/ltmain.sh
+@@ -5840,7 +5840,7 @@ func_mode_link ()
+       # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+-      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
++      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-xnorunpath|-norunpath)
+         func_quote_for_eval "$arg"
+ 	arg="$func_quote_for_eval_result"
+         func_append compile_command " $arg"
+-- 
+1.7.10.3
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list