freebsd-ports/net/mldonkey/files/patch-Makefile
Pav Lucistnik f9326a20d7 - Update to 2.5.30.17
- Use external OpenSSL

PR:		ports/86477
Submitted by:	Holger Lamm <holger@e-gitt.net> (maintainer)
2005-10-02 19:44:36 +00:00

40 lines
1.3 KiB
Text

--- 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 ("$(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: