Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2015 20:52:24 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381960 - head/security/proxytunnel/files
Message-ID:  <201503222052.t2MKqOPh010778@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Mar 22 20:52:24 2015
New Revision: 381960
URL: https://svnweb.freebsd.org/changeset/ports/381960
QAT: https://qat.redports.org/buildarchive/r381960/

Log:
  Fix build with LibreSSL
  
  PR:		198754
  Submitted by:	spil.oss@gmail.com

Modified:
  head/security/proxytunnel/files/patch-Makefile

Modified: head/security/proxytunnel/files/patch-Makefile
==============================================================================
--- head/security/proxytunnel/files/patch-Makefile	Sun Mar 22 20:36:22 2015	(r381959)
+++ head/security/proxytunnel/files/patch-Makefile	Sun Mar 22 20:52:24 2015	(r381960)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503222052.t2MKqOPh010778>