mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
convert to optionsng add license fix build with clang PR: ports/168614 Submitted by: Olivier Cochard-Labbé <olivier@cochard.me>
24 lines
574 B
Text
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)),)
|