aboutsummaryrefslogtreecommitdiff
path: root/net/spserver/files/patch-xyssl_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/spserver/files/patch-xyssl_Makefile')
-rw-r--r--net/spserver/files/patch-xyssl_Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/spserver/files/patch-xyssl_Makefile b/net/spserver/files/patch-xyssl_Makefile
new file mode 100644
index 000000000000..79950b6d3c5d
--- /dev/null
+++ b/net/spserver/files/patch-xyssl_Makefile
@@ -0,0 +1,23 @@
+--- xyssl/Makefile.orig 2008-10-04 23:25:56.000000000 +0800
++++ xyssl/Makefile 2008-10-04 23:27:00.000000000 +0800
+@@ -5,16 +5,16 @@
+ 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
+ RM = /bin/rm -f
+
+-XYSSL_INCL = -I$(HOME)/xyssl-0.9/include
+-XYSSL_LIB = -L$(HOME)/xyssl-0.9/library -lxyssl
++XYSSL_INCL = -I%PREFIX%/include
++XYSSL_LIB = -L%PREFIX%/lib -lxyssl
+
+-LIBEVENT_LIB = -L$(HOME)/libevent -levent
++LIBEVENT_LIB = -L%PREFIX%/lib -levent
+
+ SPSERVER_INCL = -I../spserver
+ SPSERVER_LIB = -L../spserver -lspserver