openbsd-ports/audio/xmms2/patches/patch-wafadmin_Tools_ccroot_py
ajacoutot 028b9f0869 Import xmms2-0.6
X-platform Music Multiplexing System 2 is a client-server audio player.
Client-server model allows XMMS2 to have various multiple (remote)
interfaces (as clients):
    * Command line interfaces
    * GTK clients (matching GNOME & Xfce4 look and feel)
    * KDE clients (matching KDE look and feel)
It has a wide format support and can play over different media.
It comes with Medialib, a database-driven media library which stores
metadata about songs as they're played, so songs can be quickly recalled
and new playlists easily made. The media library can be easily queried
and managed using Collections.

from Amaury Gauthier (maintainer) with several tweaks by me
2009-06-03 18:25:25 +00:00

28 lines
1.1 KiB
Plaintext

$OpenBSD: patch-wafadmin_Tools_ccroot_py,v 1.1.1.1 2009/06/03 18:25:25 ajacoutot Exp $
Don't create symlink for shared librairies versions.
Don't put (wrong) SONAME in shared libraries.
--- wafadmin/Tools/ccroot.py.orig Tue Apr 21 19:50:47 2009
+++ wafadmin/Tools/ccroot.py Tue May 26 23:24:47 2009
@@ -113,8 +113,8 @@ def install_shlib(self):
filename = self.outputs[0].abspath(self.env)
bld = Build.bld
bld.install_as(os.path.join(path, name3), filename, env=self.env)
- bld.symlink_as(os.path.join(path, name2), name3)
- bld.symlink_as(os.path.join(path, name1), name3)
+ #bld.symlink_as(os.path.join(path, name2), name3)
+ #bld.symlink_as(os.path.join(path, name1), name3)
# TODO reference the d programs, shlibs in d.py, not here
@@ -384,7 +384,7 @@ def apply_vnum(self):
try: name3 = self.soname
except AttributeError: name3 = self.link_task.outputs[0].name + '.' + nums[0]
self.link_task.outputs.append(self.link_task.outputs[0].parent.find_or_declare(name3))
- self.env.append_value('LINKFLAGS', '-Wl,-h,'+name3)
+ self.env.append_value('LINKFLAGS', '-Wl')
@taskgen
@after('apply_link')