diff options
author | joerg <joerg@pkgsrc.org> | 2010-03-24 15:36:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-03-24 15:36:22 +0000 |
commit | 7f9addce11302cdb125f925f93733b6a2a1b162c (patch) | |
tree | 240de6a9b915ebf7349a26478f401a48d6898a5d /net/speedtouch/patches | |
parent | 18526031a3d2ef63e1f5051700c79ea2a16db702 (diff) | |
download | pkgsrc-7f9addce11302cdb125f925f93733b6a2a1b162c.tar.gz |
Fix DESTDIR installation by not messing with ${PREFIX}/etc.
Diffstat (limited to 'net/speedtouch/patches')
-rw-r--r-- | net/speedtouch/patches/patch-aa | 9 | ||||
-rw-r--r-- | net/speedtouch/patches/patch-ad | 12 |
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" |