Honour CC and remove unneeded USE_GROFF.

ok sthen@
This commit is contained in:
dcoppa 2012-01-27 09:54:45 +00:00
parent 1c1b46f8b6
commit 3b62c34757
2 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.6 2012/01/25 22:00:15 dcoppa Exp $
# $OpenBSD: Makefile,v 1.7 2012/01/27 09:54:45 dcoppa Exp $
COMMENT = fast NTLM/NTLMv2 authenticating HTTP proxy
DISTNAME = cntlm-0.92.1
REVISION = 0
CATEGORIES = www
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cntlm/}
HOMEPAGE = http://awk.cz/cntlm/
@ -22,7 +23,6 @@ FAKE_FLAGS = INSTALL_DATA="${INSTALL_DATA}" \
CONFIGURE_STYLE = simple
ALL_TARGET = cntlm
USE_GROFF = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile,v 1.2 2012/01/25 22:00:15 dcoppa Exp $
$OpenBSD: patch-Makefile,v 1.3 2012/01/27 09:54:45 dcoppa Exp $
--- Makefile.orig Tue Nov 29 23:18:41 2011
+++ Makefile Wed Jan 25 15:59:32 2012
+++ Makefile Fri Jan 27 10:06:18 2012
@@ -2,10 +2,10 @@
# You can tweak these three variables to make things install where you
# like, but do not touch more unless you know what you are doing. ;)
@ -16,8 +16,12 @@ $OpenBSD: patch-Makefile,v 1.2 2012/01/25 22:00:15 dcoppa Exp $
#
# Careful now...
@@ -16,26 +16,23 @@ NAME=cntlm
CC=gcc
@@ -13,29 +13,26 @@ MANDIR=$(DESTDIR)/usr/share/man
# _ALL_SOURCE is for AIX 5.3 LOG_PERROR constant
#
NAME=cntlm
-CC=gcc
+CC?=gcc
VER=`cat VERSION`
OBJS=utils.o ntlm.o xcrypt.o config.o socket.o acl.o auth.o http.o forward.o direct.o scanner.o pages.o main.o
-CFLAGS+=$(FLAGS) -std=c99 -Wall -pedantic -O3 -D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"`cat VERSION`\"