summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libsvm/files/2.91-makefile.patch')
-rw-r--r--sci-libs/libsvm/files/2.91-makefile.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/sci-libs/libsvm/files/2.91-makefile.patch b/sci-libs/libsvm/files/2.91-makefile.patch
deleted file mode 100644
index b9b97e8a7cbd..000000000000
--- a/sci-libs/libsvm/files/2.91-makefile.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.orig 2010-08-05 20:36:16.000000000 +0100
-+++ Makefile 2010-08-05 21:30:42.000000000 +0100
-@@ -1,19 +1,19 @@
--CXX ?= g++
--CFLAGS = -Wall -Wconversion -O3 -fPIC
- SHVER = 1
-+PICFLAGS=-fPIC
-
--all: svm-train svm-predict svm-scale
-+all: svm-train svm-predict svm-scale lib
-
- lib: svm.o
-- $(CXX) -shared -dynamiclib svm.o -o libsvm.so.$(SHVER)
-+ $(CXX) $(LDFLAGS) -shared -Wl,-soname,libsvm.so.$(SHVER) svm.o -o libsvm.so.$(SHVER) -lm && \
-+ ln -s libsvm.so.$(SHVER) libsvm.so
-
- svm-predict: svm-predict.c svm.o
-- $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm
-+ $(CXX) $(CXXFLAGS) $(LDFLAGS) svm-predict.c svm.o -o svm-predict -lm
- svm-train: svm-train.c svm.o
-- $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm
-+ $(CXX) $(CXXFLAGS) $(LDFLAGS) svm-train.c svm.o -o svm-train -lm
- svm-scale: svm-scale.c
-- $(CXX) $(CFLAGS) svm-scale.c -o svm-scale
-+ $(CXX) $(CXXFLAGS) $(LDFLAGS) svm-scale.c -o svm-scale
- svm.o: svm.cpp svm.h
-- $(CXX) $(CFLAGS) -c svm.cpp
-+ $(CXX) $(CXXFLAGS) $(PICFLAGS) -c svm.cpp
- clean:
- rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER)