~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to debian/patches/06-BTF_Lib_Makefile.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-02-24 11:08:12 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090224110812-hawvr3dh5kjbvlae
debian/control: Add an epoch to the version number of
libsuitesparse-3.0.2 in replaces/conflicts for libcolamd-3.2.0
(really, closes: #516725)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 all: library
14
14
 
15
15
-library: libbtf.a
16
 
+library: libbtf.a libbtf.so.3.1.0
 
16
+library: libbtf.a libbtf.so.3.2.0
17
17
 
18
18
 OBJ = btf_order.o btf_maxtrans.o btf_strongcomp.o \
19
19
     btf_l_order.o btf_l_maxtrans.o btf_l_strongcomp.o
24
24
        $(RANLIB) libbtf.a
25
25
 
26
26
-$(OBJ): $(INC)
27
 
+libbtf.so.3.1.0: $(OBJ_SL)
 
27
+libbtf.so.3.2.0: $(OBJ_SL)
28
28
+       $(CC) -shared $^ -lm -Wl,-soname -Wl,$@ -o $@
29
29
+       ln -s $@ libbtf.so
30
30
+