View | Details | Raw Unified | Return to bug 209731
Collapse All | Expand All

(-)www/mini_httpd/files/patch-Makefile (-4 / +4 lines)
Lines 8-18 Link Here
8
-#SSL_INC =	-I$(SSL_TREE)/include
8
-#SSL_INC =	-I$(SSL_TREE)/include
9
-#SSL_LIBS =	-L$(SSL_TREE)/lib -lssl -lcrypto
9
-#SSL_LIBS =	-L$(SSL_TREE)/lib -lssl -lcrypto
10
+SSL_DEFS =	-DUSE_SSL
10
+SSL_DEFS =	-DUSE_SSL
11
+.if "$(OPENSSLINC)" != "/usr/include"
11
+.if ${OPENSSLINC} != "/usr/include"
12
+SSL_INC =	-I$(OPENSSLINC)
12
+SSL_INC =	-I${OPENSSLINC}
13
+.endif
13
+.endif
14
+.if "$(OPENSSLLIB)" != "/usr/lib"
14
+.if ${OPENSSLLIB} != "/usr/lib"
15
+SSL_LIBS =	-L$(OPENSSLLIB)
15
+SSL_LIBS =	-L${OPENSSLLIB}
16
+.endif
16
+.endif
17
+SSL_LIBS+=	-lssl -lcrypto
17
+SSL_LIBS+=	-lssl -lcrypto
18
  
18
  

Return to bug 209731