openbsd-ports/net/pptp/patches/patch-Makefile
sthen bcda816348 - remove a patch to zap contents of a file which is already not being
built due to a Makefile patch. From Brad, ok stsp@ (maintainer).

- don't use a header which is only needed because of the unused file,
from/commit req'd by stsp@.

shouldn't affect the package, but bumped for safety.
2010-07-14 11:04:15 +00:00

41 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.8 2010/07/14 11:04:15 sthen Exp $
--- Makefile.orig Wed May 14 08:33:55 2008
+++ Makefile Tue Jul 13 23:52:52 2010
@@ -4,19 +4,19 @@ RELEASE=
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
-PPPD = /usr/sbin/pppd
+PPPD?= /usr/sbin/pppd
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
MANDIR=$(DESTDIR)/usr/share/man/man8
PPPDIR=$(DESTDIR)/etc/ppp
-CC = gcc
+CC? = gcc
RM = rm -f
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
+CFLAGS? = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
LIBS = -lutil
# Solaris 10
# LIBS = -lnsl -lsocket -lresolv
@@ -29,11 +29,11 @@ PPTP_BIN = pptp
PPTP_OBJS = pptp.o pptp_gre.o ppp_fcs.o \
pptp_ctrl.o dirutil.o vector.o \
inststr.o util.o version.o test.o \
- pptp_quirks.o orckit_quirks.o pqueue.o pptp_callmgr.o routing.o \
+ pptp_quirks.o orckit_quirks.o pqueue.o pptp_callmgr.o \
pptp_compat.o
PPTP_DEPS = pptp_callmgr.h pptp_gre.h ppp_fcs.h util.h test.h \
- pptp_quirks.h orckit_quirks.h config.h pqueue.h routing.h
+ pptp_quirks.h orckit_quirks.h config.h pqueue.h
all: config.h $(PPTP_BIN) pptpsetup.8