diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2015-03-23 04:52:24 +0800 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2015-03-23 04:52:24 +0800 |
commit | 450cc4619f87ca1db126a2ade2e0f0077732f924 (patch) | |
tree | bb6627afaa2f2864a099cc66c61705e78eb5b75b /security | |
parent | 8200917f4b8b84fec81b4bbcc2a1714c4a207746 (diff) | |
download | freebsd-ports-gnome-450cc4619f87ca1db126a2ade2e0f0077732f924.tar.gz freebsd-ports-gnome-450cc4619f87ca1db126a2ade2e0f0077732f924.tar.zst freebsd-ports-gnome-450cc4619f87ca1db126a2ade2e0f0077732f924.zip |
Fix build with LibreSSL
PR: 198754
Submitted by: spil.oss@gmail.com
Diffstat (limited to 'security')
-rw-r--r-- | security/proxytunnel/files/patch-Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/security/proxytunnel/files/patch-Makefile b/security/proxytunnel/files/patch-Makefile index 00dedc3ffc92..0f0f04aed38e 100644 --- a/security/proxytunnel/files/patch-Makefile +++ b/security/proxytunnel/files/patch-Makefile @@ -1,5 +1,5 @@ ---- ./Makefile.orig 2008-03-13 16:10:21.000000000 +0100 -+++ ./Makefile 2008-03-13 16:10:39.000000000 +0100 +--- Makefile.orig 2008-02-26 23:31:08 UTC ++++ Makefile @@ -5,7 +5,7 @@ CC ?= cc CFLAGS ?= -Wall -O2 -ggdb @@ -9,3 +9,19 @@ # Comment on non-gnu systems OPTFLAGS += -DHAVE_GETOPT_LONG +@@ -38,13 +38,14 @@ OPTFLAGS += -DSO_REUSEPORT + # END system dependant block + + SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null) ++CRYPTO_LIBS := $(shell pkg-config --libs libcrypto 2>/dev/null) + ifeq ($(SSL_LIBS),) + SSL_LIBS := $(shell pkg-config --libs openssl 2>/dev/null) + endif + ifeq ($(SSL_LIBS),) + SSL_LIBS := -lssl -lcrypto + endif +-LDFLAGS += $(SSL_LIBS) ++LDFLAGS += $(SSL_LIBS) $(CRYPTO_LIBS) + + PREFIX =/usr/local + BINDIR = $(PREFIX)/bin |