summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/httpup/files/httpup-0.4.0k-Makefile.patch')
-rw-r--r--dev-util/httpup/files/httpup-0.4.0k-Makefile.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/httpup/files/httpup-0.4.0k-Makefile.patch b/dev-util/httpup/files/httpup-0.4.0k-Makefile.patch
new file mode 100644
index 000000000000..ee4ed9dec288
--- /dev/null
+++ b/dev-util/httpup/files/httpup-0.4.0k-Makefile.patch
@@ -0,0 +1,26 @@
+--- Makefile.orig 2010-05-21 23:31:01.000000000 +0300
++++ Makefile 2010-05-21 23:32:04.000000000 +0300
+@@ -8,10 +8,10 @@
+ mandir= $(prefix)/man
+
+
+-CXX= g++
+-CXXFLAGS= -O2 -pipe -DMF_VERSION=\"${version}\"
+-CXXFLAGS+= -g -Wall -Werror
+-LDFLAGS= -lcurl
++CXX?= g++
++CXXFLAGS+= -DMF_VERSION=\"${version}\"
++CXXFLAGS+= -Wall
++LIBS= -lcurl
+
+ INSTALL= /usr/bin/install
+ STRIP= /usr/bin/strip
+@@ -36,7 +36,7 @@
+
+
+ $(name): $(OBJS)
+- $(CXX) $(LDFLAGS) $(OBJS) -o $(name)
++ $(CXX) $(LDFLAGS) $(OBJS) -o $(name) $(LIBS)
+
+ distclean: clean
+ -rm -f Makefile config.log config.h *~ *.core core.*