| File: net/wvdial/files/gar-base.diff | |
|---|---|
| base-0 | patch-1 |
| Line 1 | Line 1 |
| diff --speed-large-files --minimal -Nru tmp/wvdial-1.53/Makefile work/main.d/wvdial-1.53/Makefile --- tmp/wvdial-1.53/Makefile 2002-03-07 17:40:48.000000000 -0600 +++ work/main.d/wvdial-1.53/Makefile 2003-04-27 09:00:32.000000000 -0500 @@ -1,7 +1,8 @@ TOPDIR=$(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) | diff --speed-large-files --minimal -Nru scratch/wvdial-1.53/src/Makefile work/main.d/wvdial-1.53/src/Makefile --- scratch/wvdial-1.53/src/Makefile 2002-03-18 15:37:39.000000000 -0600 +++ work/main.d/wvdial-1.53/src/Makefile 2003-10-08 20:06:54.000000000 -0500 @@ -9,7 +9,7 @@ wvdial.a: wvdialer.o wvdialtext.o wvmodemscan.o wvpapchap.o wvdialbrain.o \ wvdialmon.o |
| | |
| DEBUG=0 -PREFIX=/usr/local + +PREFIX=$(shell if [ "$$prefix != "" ]; the echo $$prefix; else echo "/usr/local"; fi) BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/share/man PPPDIR=/etc/ppp/peers @@ -34,22 +35,23 @@ endif | -LIBS = -L../wvstreams -lwvutils -lwvstreams +LIBS = -L../wvstreams -lwvutils -lwvstreams -lz -lcrypto |
| | |
| install: all - [ -d ${BINDIR} ] || install -d ${BINDIR} - [ -d ${MANDIR}/man1 ] || install -d ${MANDIR}/man1 - [ -d ${MANDIR}/man5 ] || install -d ${MANDIR}/man5 - [ -d ${PPPDIR} ] || install -d ${PPPDIR} - install -m 0755 --strip src/wvdial src/wvdialconf ${BINDIR} - install -m 0644 wvdial.1 wvdialconf.1 ${MANDIR}/man1 - install -m 0644 wvdial.conf.5 ${MANDIR}/man5 - cp ppp.provider ${PPPDIR}/wvdial - cp ppp.provider-pipe ${PPPDIR}/wvdial-pipe + [ -d ${BINDIR} ] || install -d ${DESTDIR}${BINDIR} + [ -d ${MANDIR}/man1 ] || install -d ${DESTDIR}${MANDIR}/man1 + [ -d ${MANDIR}/man5 ] || install -d ${DESTDIR}${MANDIR}/man5 + [ -d ${PPPDIR} ] || install -d ${DESTDIR}${PPPDIR} + install -m 0755 --strip src/wvdial src/wvdialconf ${DESTDIR}${BINDIR} + install -m 0644 wvdial.1 wvdialconf.1 ${DESTDIR}${MANDIR}/man1 + install -m 0644 wvdial.conf.5 ${DESTDIR}${MANDIR}/man5 + install -d 0644 ${DESTDIR}${PPPDIR} + cp ppp.provider ${DESTDIR}${PPPDIR}/wvdial + cp ppp.provider-pipe ${DESTDIR}${PPPDIR}/wvdial-pipe | wvdial wvdialconf papchaptest atztest pppmon: wvdial.a |
| | |
| uninstall: - rm -f ${BINDIR}/wvdial ${BINDIR}/wvdialconf - rm -f ${MANDIR}/man1/wvdial.1 ${MANDIR}/man1/wvdialconf.1 - rm -f ${MANDIR}/man5/wvdial.conf.5 - rm -f ${PPPDIR}/wvdial - rm -f ${PPPDIR}/wvdial-pipe + rm -f ${DESTDIR}${BINDIR}/wvdial ${DESTDIR}${BINDIR}/wvdialconf + rm -f ${DESTDIR}${MANDIR}/man1/wvdial.1 ${DESTDIR}${MANDIR}/man1/wvdialconf.1 + rm -f ${DESTDIR}${MANDIR}/man5/wvdial.conf.5 + rm -f ${DESTDIR}${PPPDIR}/wvdial + rm -f ${DESTDIR}${PPPDIR}/wvdial-pipe clean: $(subdirs) | |