]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound-acam.patch
- fixed ruby subpackage building
[packages/ecasound.git] / ecasound-acam.patch
1 --- ecasound-2.7.2/pyecasound/Makefile.am.orig  2009-04-19 19:10:40.000000000 +0200
2 +++ ecasound-2.7.2/pyecasound/Makefile.am       2011-01-14 17:40:20.430361617 +0100
3 @@ -27,10 +27,6 @@
4                                 $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyeca.py \
5                                 $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/ecacontrol.py
6  endif
7 -if ECA_AM_PYECASOUND_CEXT
8 -pyecasound_install_list2 =     pyecasound.so
9 -pyecasound_uninstall_list2 =           $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyecasound.so
10 -endif
11  
12  INCLUDES                       = -I$(srcdir) \
13                                 -I$(top_srcdir)/libecasoundc \
14 @@ -52,41 +48,32 @@
15  # source files
16  # ----------------------------------------------------------------------
17  
18 +pythondir = $(ECA_S_PYTHON_DLMODULES)
19  if ECA_AM_PYECASOUND_CEXT
20 -noinst_LTLIBRARIES             = libpyecasound.la
21 +python_LTLIBRARIES             = pyecasound.la
22  endif
23  
24 -libpyecasound_la_SOURCES       = pyecasound.c
25 +pyecasound_la_SOURCES  = pyecasound.c
26  
27  # libtool options to build for dlopen
28 -libpyecasound_la_LDFLAGS        = -avoid-version -export-dynamic
29 -
30 -if ECA_AM_PYECASOUND_CEXT
31 -all: pyecasound.so
32 -
33 -pyecasound.so: pyecasound.lo
34 -       $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) ${libpyecasound_la_LDFLAGS} -shared -nostartfiles -o pyecasound.so pyecasound.lo $(ecasoundc_libs)
35 -endif
36 +pyecasound_la_LDFLAGS        = -module -avoid-version -export-dynamic
37 +pyecasound_la_LIBADD = $(top_builddir)/libecasoundc/libecasoundc.la
38  
39  # ----------------------------------------------------------------------
40  # hooks
41  # ----------------------------------------------------------------------
42  
43 -if ECA_AM_PYECASOUND_CEXT
44 -CLEANFILES=pyecasound.so
45 -endif
46 -
47  if ECA_AM_PYECASOUND_INSTALL
48 -install-exec-hook: $(pyecasound_install_list1) $(pyecasound_install_list2)
49 +install-exec-hook: $(pyecasound_install_list1)
50         $(INSTALL) -d $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
51 -       $(INSTALL) $(pyecasound_install_list1) $(pyecasound_install_list2) $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
52 +       $(INSTALL) $(pyecasound_install_list1) $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
53  else
54  install-exec-hook:
55  endif
56  
57  if ECA_AM_PYECASOUND_INSTALL
58  uninstall-local:
59 -       rm -f $(pyecasound_uninstall_list1) $(pyecasound_uninstall_list2)
60 +       rm -f $(pyecasound_uninstall_list1)
61         rmdir $(DESTDIR)$(ECA_S_PYTHON_DLMODULES) || echo "Skipping non-empty directory"
62  else
63  uninstall-local:
This page took 0.033322 seconds and 3 git commands to generate.