Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ext patches (courtesy Thomas Jahns)

svn path=/bioperl-ext/trunk/; revision=15030
  • Loading branch information...
commit 13dad20efebe4a018dcc38d0ba82c8afdc82e7e1 1 parent 85604a2
cjfields authored
View
6 Bio/Ext/Align/Makefile.PL
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Bio::Ext::Align',
- 'VERSION' => '1.5.3',
+ 'VERSION' => '1.6.0',
'LIBS' => ['-lm'], # e.g., '-lm'
'DEFINE' => '-DPOSIX -DNOERROR', # e.g., '-DHAVE_SOMETHING'
'INC' => '-I./libs', # e.g., '-I/usr/include/other'
@@ -15,7 +15,7 @@ sub MY::postamble{
'
$(MYEXTLIB):
DEFINE=\'$(DEFINE)\'; CC=\'$(PERLMAINCC)\'; CFLAGS=\'$(CCFLAGS)\'; export DEFINE INC CC CFLAGS; \
- cd libs && $(MAKE) CC=\'$(PERLMAINCC)\' CFLAGS=\'$(CCFLAGS) $(DEFINE)\' DEFINE=\'$(DEFINE)\' libsw$(LIB_EXT) -e
-
+ cd libs && $(MAKE) CC=\'$(PERLMAINCC)\' CFLAGS=\'$(CCFLAGS) $(DEFINE)\' DEFINE=\'$(DEFINE)\' libsw$(LIB_EXT) -e ; \
+ $(RANLIB) libsw$(LIB_EXT)
';
}
View
3  Bio/Ext/Align/libs/dpalign.c
@@ -300,6 +300,7 @@ pgreen(int * waa, int M, unsigned char * B, int N, int gap, int ext, struct swst
next_row:
;
}
-
+
+ free(waa);
return score;
}
View
3  Bio/Ext/Align/libs/makefile
@@ -48,3 +48,6 @@ libsw.a : $(OBJS)
CFLAGS = -c -O -fPIC
CC = cc
+
+clean:
+ rm -f $(OBJS)
Please sign in to comment.
Something went wrong with that request. Please try again.