[csw-devel] SF.net SVN: gar:[18666] csw/mgar/pkg/libxvidcore/trunk

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Jul 9 09:38:12 CEST 2012


Revision: 18666
          http://gar.svn.sourceforge.net/gar/?rev=18666&view=rev
Author:   pfelecan
Date:     2012-07-09 07:38:11 +0000 (Mon, 09 Jul 2012)
Log Message:
-----------
libxvidcore/trunk: use generic/compatible argument for soname enabling
link edition on Solaris 9 or old Solaris 10

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

Added Paths:
-----------
    csw/mgar/pkg/libxvidcore/trunk/files/0003-Generic-linker-soname-argument.patch

Modified: csw/mgar/pkg/libxvidcore/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/Makefile	2012-07-08 18:30:22 UTC (rev 18665)
+++ csw/mgar/pkg/libxvidcore/trunk/Makefile	2012-07-09 07:38:11 UTC (rev 18666)
@@ -17,6 +17,7 @@
 DISTFILES  		=	$(shortName)-$(VERSION).tar.gz
 PATCHFILES		+=	0001-Adapt-examples-build-and-bench.patch
 PATCHFILES		+=	0002-Map-instead-of-version.patch
+PATCHFILES		+=	0003-Generic-linker-soname-argument.patch
 
 GARCOMPILER		=	GNU
 CONFIGURE_ARGS	=	$(DIRPATHS)
@@ -28,6 +29,11 @@
 
 include gar/category.mk
 
+post-install-modulated:
+	cd $(DESTDIR)/$(libdir) && ln -s libxvidcore.4.3.so libxvidcore.4.so
+	cd $(DESTDIR)/$(libdir) && ln -s libxvidcore.4.so libxvidcore.so
+	$(MAKECOOKIE)
+
 # this is private and not available publicly
 mydependencies:
 	$(HOME)/bin/ocswdeplist --package $(NAME)

Added: csw/mgar/pkg/libxvidcore/trunk/files/0003-Generic-linker-soname-argument.patch
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/files/0003-Generic-linker-soname-argument.patch	                        (rev 0)
+++ csw/mgar/pkg/libxvidcore/trunk/files/0003-Generic-linker-soname-argument.patch	2012-07-09 07:38:11 UTC (rev 18666)
@@ -0,0 +1,25 @@
+From 633d155af167086577e4dfa39f584f62e3ede8f6 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Mon, 9 Jul 2012 08:49:36 +0200
+Subject: [PATCH] Generic linker soname argument
+
+---
+ build/generic/configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/generic/configure b/build/generic/configure
+index 55ff197..ce73353 100755
+--- a/build/generic/configure
++++ b/build/generic/configure
+@@ -4325,7 +4325,7 @@ case "$target_os" in
+ $as_echo "ok" >&6; }
+ 	STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
+ 	SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
+-	SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,-M,libxvidcore.ld -lc -lm"
++	SPECIFIC_LDFLAGS="-Wl,-h,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,-M,libxvidcore.ld -lc -lm"
+ 	SPECIFIC_CFLAGS="-fPIC"
+ 	;;
+      *bsd*|irix*)
+-- 
+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