ports/net/pptpclient/files/patch-aa
Boris Samorodov b168d6a5e3 Use MAKE_ARGS (CC="${CC}") instead of a patch.
Reported by:	bapt
2013-08-29 07:33:57 +00:00

20 lines
633 B
Text

--- Makefile.orig 2008-05-14 11:33:55.000000000 +0500
+++ Makefile 2013-08-29 11:28:02.675336240 +0400
@@ -4,7 +4,7 @@ RELEASE=
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
-PPPD = /usr/sbin/pppd
+PPPD = /usr/sbin/ppp
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
@@ -16,7 +16,7 @@ RM = rm -f
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
+CFLAGS += -Wall $(DEBUG) $(INCLUDE) -DUSER_PPP
LIBS = -lutil
# Solaris 10
# LIBS = -lnsl -lsocket -lresolv