pinkbyte    14/06/24 12:15:51

  Added:                rp-l2tp-0.4-build.patch
  Log:
  Add patch for latest revision, that is accidantly missing
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x1F357D42)

Revision  Changes    Path
1.1                  net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch?rev=1.1&content-type=text/plain

Index: rp-l2tp-0.4-build.patch
===================================================================
--- Makefile.in.orig    2014-06-24 15:20:47.028342728 +0400
+++ Makefile.in 2014-06-24 15:21:07.468320934 +0400
@@ -39,8 +39,8 @@
 
 libl2tp.a: $(OBJS)
        rm -f $@
-       ar -rc $@ $^
-       ranlib $@ || true
+       $(AR) -rc $@ $^
+       @RANLIB@ $@ || true
 
 l2tpd: libl2tp.a libevent/libevent.a
        $(MAKE) -C handlers
--- libevent/Makefile.in.orig   2002-09-30 23:45:00.000000000 +0400
+++ libevent/Makefile.in        2014-06-24 15:24:31.535105268 +0400
@@ -18,20 +18,20 @@
 
 libevent.a: $(OBJS)
        rm -f libevent.a
-       ar -cq libevent.a $(OBJS)
+       $(AR) -cq libevent.a $(OBJS)
        @RANLIB@ libevent.a
 
 event.o: event.c $(HDRS)
-       gcc $(CFLAGS) -c -o event.o event.c
+       $(CC) $(CFLAGS) -c -o event.o event.c
 
 hash.o: hash.c $(HDRS)
-       gcc $(CFLAGS) -c -o hash.o hash.c
+       $(CC) $(CFLAGS) -c -o hash.o hash.c
 
 event_sig.o: event_sig.c $(HDRS)
-       gcc $(CFLAGS) -c -o event_sig.o event_sig.c
+       $(CC) $(CFLAGS) -c -o event_sig.o event_sig.c
 
 event_tcp.o: event_tcp.c $(HDRS)
-       gcc $(CFLAGS) -c -o event_tcp.o event_tcp.c
+       $(CC) $(CFLAGS) -c -o event_tcp.o event_tcp.c
 
 clean: FORCE
        rm -f *.a *.o *~
--- handlers/Makefile.in.orig   2014-06-24 15:31:35.186667624 +0400
+++ handlers/Makefile.in        2014-06-24 15:32:26.659615281 +0400
@@ -20,19 +20,19 @@
 all: $(HANDLERS) l2tp-control
 
 l2tp-control: cmd-control.o
-       gcc $(LDFLAGS) -o l2tp-control cmd-control.o
+       $(CC) $(CFLAGS) $(LDFLAGS) -o l2tp-control cmd-control.o
 
 cmd-control.o: cmd-control.c
-       gcc $(CFLAGS) -c -o $@ $^
+       $(CC) $(CFLAGS) -c -o $@ $^
 
 %.o: %.c
-       gcc $(CFLAGS) -fPIC -c -o $@ $<
+       $(CC) $(CFLAGS) -fPIC -c -o $@ $<
 
 sync-pppd.so: pty.o sync-pppd.o
-       gcc $(LDFLAGS) -shared -o $@ $^
+       $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^
 
 cmd.so: cmd.o dstring.o
-       gcc $(LDFLAGS) -shared -o $@ $^
+       $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^
 
 clean:
        rm -f *.so *.o *~




Reply via email to