summaryrefslogtreecommitdiff
path: root/net/speedtouch/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2010-03-24 15:36:22 +0000
committerjoerg <joerg>2010-03-24 15:36:22 +0000
commitc6fb0ee009ecc75b5f07af2f17a60d7f89a4bf33 (patch)
tree240de6a9b915ebf7349a26478f401a48d6898a5d /net/speedtouch/patches
parent4173d097ce597a1122c81feee190e1b626b610d8 (diff)
downloadpkgsrc-c6fb0ee009ecc75b5f07af2f17a60d7f89a4bf33.tar.gz
Fix DESTDIR installation by not messing with ${PREFIX}/etc.
Diffstat (limited to 'net/speedtouch/patches')
-rw-r--r--net/speedtouch/patches/patch-aa9
-rw-r--r--net/speedtouch/patches/patch-ad12
2 files changed, 15 insertions, 6 deletions
diff --git a/net/speedtouch/patches/patch-aa b/net/speedtouch/patches/patch-aa
index 0399f440374..3db6dbf624d 100644
--- a/net/speedtouch/patches/patch-aa
+++ b/net/speedtouch/patches/patch-aa
@@ -1,11 +1,12 @@
-$NetBSD: patch-aa,v 1.5 2004/12/23 18:11:18 skrll Exp $
+$NetBSD: patch-aa,v 1.6 2010/03/24 15:36:22 joerg Exp $
---- doc-bsd/Makefile.in.orig 2004-06-10 17:36:35.000000000 +0100
+--- doc-bsd/Makefile.in.orig 2004-09-29 20:56:31.000000000 +0000
+++ doc-bsd/Makefile.in
-@@ -93,7 +93,9 @@ all :
+@@ -92,8 +92,9 @@ DIST_FILES = \
+ all :
install: install-man
- @test -d "$(prefix)/etc/rc.d" || $(INSTALL) -c -d "$(prefix)/etc/rc.d"
+- @test -d "$(prefix)/etc/rc.d" || $(INSTALL) -c -d "$(prefix)/etc/rc.d"
- $(INSTALL) -m 0744 -o $(installuser) adsl.sh.sample "$(prefix)/etc/rc.d"
+ @test -d "$(datadir)/examples/speedtouch" || $(INSTALL) -c -d $(datadir)/examples/speedtouch
+ $(INSTALL) -m 0744 -o $(installuser) adsl.sh.sample $(datadir)/examples/speedtouch
diff --git a/net/speedtouch/patches/patch-ad b/net/speedtouch/patches/patch-ad
index f49026d544c..db22e5a60b5 100644
--- a/net/speedtouch/patches/patch-ad
+++ b/net/speedtouch/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.3 2004/12/23 18:11:18 skrll Exp $
+$NetBSD: patch-ad,v 1.4 2010/03/24 15:36:22 joerg Exp $
---- src/Makefile.in.orig 2004-09-29 21:56:31.000000000 +0100
+--- src/Makefile.in.orig 2004-09-29 20:56:31.000000000 +0000
+++ src/Makefile.in
@@ -114,19 +114,19 @@ all: ${make_bindir}
@@ -25,3 +25,11 @@ $NetBSD: patch-ad,v 1.3 2004/12/23 18:11:18 skrll Exp $
chmod a+x $@.tmp
mv $@.tmp $@
+@@ -188,7 +188,6 @@ install:
+ $(INSTALL) -m 0755 speedtouch-setup "$(bindir)"
+ $(INSTALL) -m 0755 speedtouch-start "$(bindir)"
+ $(INSTALL) -m 0755 speedtouch-stop "$(bindir)"
+- $(INSTALL) -d "$(sysconfdir)/speedtouch"
+
+ uninstall:
+ $(RM) "$(bindir)/speedtouch-setup"