summaryrefslogtreecommitdiff
path: root/ftp/uftp/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/uftp/files/patch-Makefile')
-rw-r--r--ftp/uftp/files/patch-Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/ftp/uftp/files/patch-Makefile b/ftp/uftp/files/patch-Makefile
index 2e55a16935ed..18e909b62ce0 100644
--- a/ftp/uftp/files/patch-Makefile
+++ b/ftp/uftp/files/patch-Makefile
@@ -1,16 +1,22 @@
---- makefile.orig 2009-06-23 11:49:24.000000000 +0400
-+++ makefile 2009-06-23 11:50:10.000000000 +0400
-@@ -1,10 +1,10 @@
- UNAME_S:=$(shell uname -s)
+--- makefile.orig 2010-07-19 06:03:27.000000000 +0400
++++ makefile 2010-07-23 11:11:06.000000000 +0400
+@@ -39,14 +39,15 @@ CRYPT_LIB=-lcrypto
+ endif
# defaults
-CC = gcc
+CC ?= gcc
- OPTIONS=-g -Wall
--LDLIBS=-lc -lm
+ OPTIONS=-g -Wall $(ENC_OPTS)
+-LDLIBS=-lc -lm $(CRYPT_LIB)
-CFLAGS=
-+LDLIBS+=-lc -lm
++LDLIBS+=-lm $(CRYPT_LIB)
+CFLAGS?=
# FreeBSD
ifeq ("FreeBSD", "$(UNAME_S)")
+-OPTIONS=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS)
++OPTIONS=-Wall -DHAS_GETIFADDRS $(ENC_OPTS)
++OPENSSL=/usr
+ endif
+
+ # OSX, aka Darwin