Kind of hacky fix for banshee-2.6.0
Stefan Wendler
stefan.wendler at tngtech.com
Mon Dec 2 20:36:15 UTC 2013
Hi,
I've noticed a long time ago that banshee was not compiling anymore. When I
wrote the maintainer nobody replied. So I kind of dirty-hacky-fixed it myself
today.
I generally did the following:
I the Makefile.in files of the sources I changed (where this variable was
available)
ASSEMBLY_BUILD_FLAGS = -unsafe
to
ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
Then I compiled my way through the rest of the sources and found loads of
other files where this line was missing completely. I started by including it
by hand but after the 20th Makefile.in it somehow got tedious.
so I did a "export ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4" and then a make
install. Now it compiles and banshee works.
I attached the patch fle that can be copied to multimedia/banshee/files and
works-for-me (TM)
But I still have to do the export-thing before compiling. And I know this is a
dirty hack. But I don't know if there is a way to include this once as a
global compile time variable. Or if I have to patch this into every
Makefile.in there is in banshee?
Since I never did any patch at all for FreeBSD so far and didn't find anything
about setting a global variable in the ports Makefile, I kind of hope that
there is anybody out there who can guide me in the right direction?
Cheers,
Stefan
-------------- next part --------------
$FreeBSD$
--- src/Backends/Banshee.Osx/Makefile.in
+++ src/Backends/Banshee.Osx/Makefile.in
@@ -416,7 +416,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ASSEMBLY = Banshee.Osx
-ASSEMBLY_BUILD_FLAGS = -unsafe
+ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
TARGET = library
LINK = $(REF_BACKEND_OSX) $(am__append_1)
INSTALL_DIR = $(BACKENDS_INSTALL_DIR)
--- src/Core/Banshee.ThickClient/Makefile.in
+++ src/Core/Banshee.ThickClient/Makefile.in
@@ -417,7 +417,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ASSEMBLY = Banshee.ThickClient
TARGET = library
-ASSEMBLY_BUILD_FLAGS = -unsafe
+ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
LINK = $(REF_BANSHEE_THICKCLIENT) $(am__append_1)
SOURCES = \
Banshee.Addins.Gui/AddinView.cs \
--- src/Core/Banshee.Widgets/Makefile.in
+++ src/Core/Banshee.Widgets/Makefile.in
@@ -417,7 +417,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ASSEMBLY = Banshee.Widgets
TARGET = library
-ASSEMBLY_BUILD_FLAGS = -unsafe
+ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
LINK = $(REF_BANSHEE_WIDGETS) $(am__append_1)
SOURCES = \
Banshee.Widgets/CustomActionProxy.cs \
--- src/Hyena/Hyena.Gui/Makefile.in
+++ src/Hyena/Hyena.Gui/Makefile.in
@@ -416,7 +416,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ASSEMBLY = Hyena.Gui
-ASSEMBLY_BUILD_FLAGS = -unsafe
+ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
TARGET = library
LINK = -r:ICSharpCode.SharpZipLib -r:Mono.Posix -r:System \
-r:System.Core -r:Mono.Cairo $(GTKSHARP_LIBS) \
More information about the freebsd-hackers
mailing list