summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/wvdial/files/wvdial-1.54.0-destdir.patch')
-rw-r--r--net-dialup/wvdial/files/wvdial-1.54.0-destdir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-dialup/wvdial/files/wvdial-1.54.0-destdir.patch b/net-dialup/wvdial/files/wvdial-1.54.0-destdir.patch
new file mode 100644
index 000000000000..d8328b09d107
--- /dev/null
+++ b/net-dialup/wvdial/files/wvdial-1.54.0-destdir.patch
@@ -0,0 +1,16 @@
+diff -Nru wvdial-1.54.0.orig/Makefile wvdial-1.54.0/Makefile
+--- wvdial-1.54.0.orig/Makefile 2003-11-14 21:46:13.000000000 +0200
++++ wvdial-1.54.0/Makefile 2005-09-15 22:59:34.972570352 +0300
+@@ -6,10 +6,10 @@
+ && echo " -lsupc++")
+ endif
+
+-PREFIX=/usr/local
++PREFIX=${DESTDIR}/usr
+ BINDIR=${PREFIX}/bin
+ MANDIR=${PREFIX}/share/man
+-PPPDIR=/etc/ppp/peers
++PPPDIR=${DESTDIR}/etc/ppp/peers
+
+ include $(TOPDIR)/wvrules.mk
+