summaryrefslogtreecommitdiff
path: root/wvdial/wvdial-1.60.patch
blob: 0c0646ff39c4774457761fa8098da238f9a71be8 (plain)
    1 diff -Nru wvdial-1.60.orig/Makefile wvdial-1.60/Makefile
    2 --- wvdial-1.60.orig/Makefile	2007-07-21 11:24:37.000000000 +0200
    3 +++ wvdial-1.60/Makefile	2007-07-21 11:42:43.000000000 +0200
    4 @@ -1,25 +1,17 @@
    5  
    6 -prefix=/usr/local
    7 -WVSTREAMS_INC=
    8 -WVSTREAMS_LIB=
    9 +prefix=$(DESTDIR)/usr
   10 +WVSTREAMS_INC=$(WVS)/include
   11 +WVSTREAMS_LIB=$(WVS)
   12  WVSTREAMS_BIN=$(prefix)/bin
   13  WVSTREAMS_SRC=.
   14  
   15 -PC_CFLAGS=$(shell pkg-config --cflags libwvstreams)
   16 -ifeq ($(PC_CFLAGS),)
   17 - $(error WvStreams does not appear to be installed)
   18 -endif
   19 -CPPFLAGS+=$(PC_CFLAGS)
   20 -
   21 -PC_LIBS=$(shell pkg-config --libs libwvstreams)
   22 -ifeq ($(PC_LIBS),)
   23 - $(error WvStreams does not appear to be installed)
   24 -endif
   25 -LIBS+=$(PC_LIBS)
   26 +LIBS = $(WVS)/libwvstatic.a -lstdc++ -lcrypto -lssl
   27  
   28  BINDIR=${prefix}/bin
   29 -MANDIR=${prefix}/share/man
   30 -PPPDIR=/etc/ppp/peers
   31 +MANDIR=${prefix}/man
   32 +PPPDIR=$(DESTDIR)/etc/ppp/peers
   33 +
   34 +VERBOSE=1
   35  
   36  include wvrules.mk
   37  
   38 @@ -30,7 +22,6 @@
   39  wvdial.a: wvdialer.o wvmodemscan.o wvpapchap.o wvdialbrain.o \
   40  	wvdialmon.o
   41  
   42 -wvdial: LDFLAGS+=-luniconf
   43  
   44  wvdial wvdialconf papchaptest pppmon: wvdial.a
   45  

Generated by cgit