diff options
Diffstat (limited to 'net-p2p/mldonkey/files/patch-Makefile')
-rw-r--r-- | net-p2p/mldonkey/files/patch-Makefile | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/net-p2p/mldonkey/files/patch-Makefile b/net-p2p/mldonkey/files/patch-Makefile index bbd57ad8fff1..452e3963a19d 100644 --- a/net-p2p/mldonkey/files/patch-Makefile +++ b/net-p2p/mldonkey/files/patch-Makefile @@ -1,11 +1,40 @@ ---- Makefile.orig Wed Sep 8 22:54:44 2004 -+++ Makefile Wed Sep 8 22:54:54 2004 -@@ -258,7 +258,7 @@ +--- config/Makefile.in.orig Tue Sep 6 21:51:36 2005 ++++ config/Makefile.in Tue Sep 6 22:00:47 2005 +@@ -144,6 +144,11 @@ + CDK_SRCS += $(CDK)/zlib.ml $(CDK)/zlibstubs.c + endif + ++ifneq ("$(OPENSSLBASE)", "/usr") ++ LIBS_flags += -ccopt -I$(OPENSSLINC) -cclib -L$(OPENSSLLIB) ++endif ++LIBS_flags += -cclib -lcrypto ++ + ifeq ("$(GD)", "yes") + LIBS_flags += -cclib -lgd -cclib -lfreetype -cclib -lm + LIBS_flags += -ccopt -W -ccopt -Wall -ccopt -Wno-unused +@@ -219,8 +224,7 @@ + $(LIB)/misc.ml $(LIB)/unix32.ml $(LIB)/md4.ml \ + $(LIB)/avifile.ml $(LIB)/http_lexer.mll $(LIB)/url.ml \ + $(LIB)/date.ml $(LIB)/fst_hash.c \ +- $(LIB)/md4_comp.c $(LIB)/md4_c.c \ +- $(LIB)/gettext.ml4 $(LIB)/md5_c.c $(LIB)/$(SHA1_VERSION)_c.c \ ++ $(LIB)/md4_c.c $(LIB)/gettext.ml4 \ + $(LIB)/tiger.c \ + $(LIB)/stubs_c.c $(LIB)/queues.ml \ + $(LIB)/charsetstubs.c $(LIB)/charset.ml +@@ -291,7 +295,7 @@ all: Makefile config/Makefile.config $(TARGET_TYPE) config/configure: config/configure.in - cd config; autoconf + cd config; %%AUTOCONF%% - ifeq ("$(MYCONFIG_ARGS_DEFINED)" , "yes") + ifeq ("$(CONFIGURE_RUN)" , "yes") + +@@ -2059,5 +2063,4 @@ + src/utils/lib/sha1new_c.o: src/utils/lib/sha1new_c.h \ + src/utils/lib/sha1_c.h src/utils/lib/os_stubs.h +-src/daemon/common/commonHasher_c.o: src/utils/lib/sha1_c.h +-src/utils/lib/stubs_c.o: src/utils/lib/sha1_c.h ++src/daemon/common/commonHasher_c.o: |