source: packages/net/openl2tp/patches/001-makefile.patch @ 23752

Last change on this file since 23752 was 23752, checked in by florian, 6 years ago

[package] update openl2tp to 1.7 (#8141)

File size: 2.8 KB
  • Makefile

    old new  
    88L2TP_FEATURE_LAOC_SUPPORT=      y 
    99L2TP_FEATURE_LNIC_SUPPORT=      y 
    1010L2TP_FEATURE_LNOC_SUPPORT=      y 
    11 L2TP_FEATURE_LOCAL_CONF_FILE=   y 
     11#L2TP_FEATURE_LOCAL_CONF_FILE=  y 
    1212#L2TP_FEATURE_LOCAL_STAT_FILE=  y 
    1313 
    1414# Define USE_DMALLOC to enable dmalloc memory debugging 
     
    2929# Build for UML environment? 
    3030# UML_TARGET=           y 
    3131 
    32 ARCH=$(shell uname -p) 
    33 ifeq ($(ARCH),x86_64) 
    34 SYS_LIBDIR=/usr/lib64 
    35 else 
     32#ARCH=$(shell uname -p) 
     33#ifeq ($(ARCH),x86_64) 
     34#SYS_LIBDIR=/usr/lib64 
     35#else 
    3636SYS_LIBDIR=/usr/lib 
    37 endif 
     37#endif 
    3838 
    3939# Point to kernel source tree 
    40 KERNEL_SRCDIR=          /lib/modules/$(shell uname -r)/source 
    41 KERNEL_BLDDIR=          /lib/modules/$(shell uname -r)/build 
     40#KERNEL_SRCDIR=         /lib/modules/$(shell uname -r)/source 
     41#KERNEL_BLDDIR=         /lib/modules/$(shell uname -r)/build 
    4242 
    4343# Points to pppd install.  
    4444# By default, pppd headers are assumed to be in /usr/include/pppd. but  
    4545# can be pointed to a local pppd source tree if desired. 
    46 PPPD_VERSION=           2.4.5 
     46#PPPD_VERSION=          2.4.5 
    4747# PPPD_SRCDIR=          /usr/local/src/ppp-2.4.5 
    4848# PPPD_LIBDIR=          /usr/lib/pppd/2.4.5 
    4949 
    5050# Points to readline install root. READLINE_DIR should have lib/ & include/ subdirs 
    5151# If not defined, readline is assumed to be installed in the standard places that 
    5252# the compiler looks. 
    53 READLINE_DIR=            
     53#READLINE_DIR=           
    5454 
    5555# For cross-compiling 
    56 CROSS_COMPILE= 
     56#CROSS_COMPILE= 
    5757 
    5858# END CONFIGURABLE SETTINGS 
    5959 
     
    142142 
    143143CPPFLAGS=               $(CPPFLAGS.l2tptest) $(CPPFLAGS-y) 
    144144CFLAGS=                 -I. -Iusl -Icli -isystem $(KERNEL_BLDDIR)/include \ 
    145                                 -isystem $(KERNEL_SRCDIR)/include -MMD -Wall -Werror $(CPPFLAGS) $(CPPFLAGS.dmalloc) -DSYS_LIBDIR=$(SYS_LIBDIR) 
     145                                -isystem $(KERNEL_SRCDIR)/include -MMD -Wall $(CPPFLAGS) $(CPPFLAGS.dmalloc) -DSYS_LIBDIR=$(SYS_LIBDIR) 
    146146LDFLAGS.l2tpd=          -Wl,-E -L. -Lusl -lusl -ldl $(LIBS.dmalloc) -lc 
    147 LDFLAGS.l2tpconfig=     -Lcli -lcli -lreadline $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc 
     147LDFLAGS.l2tpconfig=     -Lcli -lcli -lreadline -lncurses $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc 
    148148 
    149149OPT_CFLAGS?=            -O 
    150150 
  • cli/Makefile

    old new  
    77 
    88LDFLAGS.cli_test=       -L.. -L. $(READLINE_LDFLAGS) -lcli -lusl -lreadline -lcurses -lc 
    99 
    10 CFLAGS=                 $(CFLAGS.optimize) -MMD -Wall -Werror -I.. $(READLINE_CFLAGS) 
     10CFLAGS=                 $(CFLAGS.optimize) -MMD -Wall -I.. $(READLINE_CFLAGS) 
    1111 
    1212.PHONY:                 all test clean 
    1313 
  • usl/Makefile

    old new  
    1414endif 
    1515 
    1616CPPFLAGS+=              $(CFLAGS.optimize) -g 
    17 CFLAGS=                 -I. -MMD -Wall -Werror $(CPPFLAGS) $(CPPFLAGS.dmalloc) 
     17CFLAGS=                 -I. -MMD -Wall $(CPPFLAGS) $(CPPFLAGS.dmalloc) 
    1818 
    1919.PHONY:                 all test clean 
    2020 
Note: See TracBrowser for help on using the repository browser.