mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
28 lines
800 B
Text
28 lines
800 B
Text
--- xyssl/Makefile.orig 2009-12-13 10:02:34.000000000 +0800
|
|
+++ xyssl/Makefile 2013-09-08 21:03:33.000000000 +0800
|
|
@@ -1,20 +1,19 @@
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
-CC = gcc
|
|
AR = ar cru
|
|
-CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
|
|
+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
|