diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-17 09:06:57 +0100 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-18 08:03:06 +0100 |
commit | a9258ea4707902e9ae5ef672d95c22514d01303b (patch) | |
tree | 2a755b55bf90939c262ecac58d96a3d13265e224 /network/xl2tpd/makefile.patch | |
parent | a51b96b4e7e6797f913be40483c8c63f47d71926 (diff) |
network/xl2tpd: Updated for version 1.3.2, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/xl2tpd/makefile.patch')
-rw-r--r-- | network/xl2tpd/makefile.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/network/xl2tpd/makefile.patch b/network/xl2tpd/makefile.patch deleted file mode 100644 index 5e46047ea4..0000000000 --- a/network/xl2tpd/makefile.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- Makefile-orig 2010-04-09 20:02:02.000000000 +0400 -+++ Makefile 2010-04-09 20:02:39.000000000 +0400 -@@ -53,8 +53,8 @@ - # but we use a local copy if we don't find it. - # - #KERNELSRC=/lib/modules/`uname -r`/build/ --KERNELSRC?=./linux --OSFLAGS?= -DLINUX -I$(KERNELSRC)/include/ -+KERNELSRC=/usr/src/linux -+OSFLAGS= -DLINUX -I$(KERNELSRC)/include/ - # - # Uncomment the following to use the kernel interface under Linux - # This requires the pppol2tp-linux-2.4.27.patch patch from contrib -@@ -62,7 +62,7 @@ - # are packages seperately (eg kernel-headers on Fedora) - # Note: 2.6.23+ support still needs some changes in the xl2tpd source - # --#OSFLAGS+= -DUSE_KERNEL -+OSFLAGS+= -DUSE_KERNEL - # - # - # Uncomment the next line for FreeBSD -@@ -97,10 +97,10 @@ - #LIBS= $(OSLIBS) # -lefence # efence for malloc checking - EXEC=xl2tpd - --PREFIX?=/usr/local -+PREFIX?=/usr - SBINDIR?=$(DESTDIR)${PREFIX}/sbin - BINDIR?=$(DESTDIR)${PREFIX}/bin --MANDIR?=$(DESTDIR)${PREFIX}/share/man -+MANDIR?=$(DESTDIR)${PREFIX}/man - - - all: $(EXEC) pfc -@@ -113,7 +113,7 @@ - - pfc: - $(CC) $(CFLAGS) -c contrib/pfc.c -- $(CC) $(LDFLAGS) -lpcap $(LDLIBS) -o pfc pfc.o -+ $(CC) pfc.o $(LDFLAGS) -lpcap $(LDLIBS) -o pfc - - romfs: - $(ROMFSINST) /bin/$(EXEC) |