summaryrefslogtreecommitdiff
path: root/net/spserver/files/patch-openssl_Makefile
blob: 318052698b9b58273d88e7dc136691604c303fa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- openssl/Makefile.orig	Wed Aug 22 22:03:27 2007
+++ openssl/Makefile	Fri Aug 24 15:46:20 2007
@@ -5,7 +5,7 @@
 AR = ar cru
 CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
 SOFLAGS = -shared
-LDFLAGS = -lstdc++ -lpthread -lresolv
+LDFLAGS = -lstdc++ -lpthread
 
 LINKER = $(CC)
 LINT = lint -c
@@ -14,7 +14,7 @@
 OPENSSL_INCL = -I/usr/include/openssl/
 OPENSSL_LIB  = -L/usr/lib -lssl -lcrypto
 
-LIBEVENT_LIB  = -L$(HOME)/libevent -levent
+LIBEVENT_LIB  = -L%PREFIX%/lib -levent
 
 SPSERVER_INCL = -I../spserver
 SPSERVER_LIB  = -L../spserver -lspserver