ports/net/sslh/files/patch-Makefile
Baptiste Daroussin 1adf67fb61 update to 1.13
convert to optionsng
add license
fix build with clang

PR:		ports/168614
Submitted by:	Olivier Cochard-Labbé <olivier@cochard.me>
2012-06-03 00:17:34 +00:00

24 lines
574 B
Text

--- ./Makefile.orig 2012-06-03 02:10:16.959537483 +0200
+++ ./Makefile 2012-06-03 02:10:20.312769958 +0200
@@ -4,7 +4,7 @@
USELIBCONFIG=1 # Use libconfig? (necessary to use configuration files)
USELIBWRAP= # Use libwrap?
COV_TEST= # Perform test coverage?
-PREFIX=/usr/local
+PREFIX ?=/usr/local
MAN=sslh.8.gz # man page name
@@ -15,10 +15,9 @@
CFLAGS_COV=-fprofile-arcs -ftest-coverage
endif
-CC = gcc
-CFLAGS=-Wall -g $(CFLAGS_COV)
+CC ?= gcc
+CFLAGS ?=-Wall -g $(CFLAGS_COV)
-LIBS=
OBJS=common.o sslh-main.o probe.o
ifneq ($(strip $(USELIBWRAP)),)