--- Makefile.defs.openssl 2008-05-15 19:24:33.000000000 +0400
+++ Makefile.defs 2008-08-11 12:45:22.000000000 +0400
@@ -1254,8 +1254,8 @@
#add libssl if needed
ifneq ($(TLS),)
-DEFS+= -I$(LOCALBASE)/ssl/include -I$(LOCALBASE)/include
-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto
+DEFS+=
+LIBS+= -L$(LOCALBASE)/lib -lssl -lcrypto
endif
#add libsctp if needed
--- modules/tlsops/Makefile.openssl 2007-12-13 16:37:35.000000000 +0300
+++ modules/tlsops/Makefile 2008-08-11 12:45:22.000000000 +0400
@@ -7,8 +7,8 @@
NAME=tlsops.so
LIBS=
-DEFS+= -I$(LOCALBASE)/ssl/include
-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto
+DEFS+=
+LIBS+= -L$(LOCALBASE)/lib -lssl -lcrypto
include ../../Makefile.modules