aboutsummaryrefslogtreecommitdiff
path: root/security/snoopy
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-08-13 09:58:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-08-13 09:58:52 +0000
commitd227b28dacc747a3297c87ed9990317154a80b88 (patch)
tree61683971128d65c32b7d89dc954a327ab4fd130e /security/snoopy
parent5e37d4e2c7d34df7dd662faadaf37237893a6164 (diff)
downloadports-d227b28dacc747a3297c87ed9990317154a80b88.tar.gz
ports-d227b28dacc747a3297c87ed9990317154a80b88.zip
- Remove useless patch-README replaced by a ${REINPLACE_CMD} macro
Submitted by: sahil@ (by email) Approved by: rene@ (mentor vacation)
Notes
Notes: svn path=/head/; revision=259164
Diffstat (limited to 'security/snoopy')
-rw-r--r--security/snoopy/Makefile2
-rw-r--r--security/snoopy/files/patch-README20
2 files changed, 1 insertions, 21 deletions
diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index 112518b280cb..655382a40de9 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -20,7 +20,7 @@ PORTDOCS= README
GNU_CONFIGURE= yes
post-patch:
- @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/README
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README
@${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
do-install:
diff --git a/security/snoopy/files/patch-README b/security/snoopy/files/patch-README
deleted file mode 100644
index a2d52e3f0f58..000000000000
--- a/security/snoopy/files/patch-README
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./README.orig 2010-08-05 01:02:04.000000000 +0200
-+++ ./README 2010-08-11 12:10:05.170201000 +0200
-@@ -51,14 +51,14 @@
- Snoopy is placed in /etc/ld.so.preload to trap all occurances of exec,
- if you wish to monitor only certain applications you can do so through
- the $LD_PRELOAD environment variable - simply set it to
-- /usr/local/lib/snoopy.so before loading the application. For example:
-+ %%PREFIX%%/lib/snoopy.so before loading the application. For example:
-
-- export LD_PRELOAD=/usr/local/lib/snoopy.so
-+ export LD_PRELOAD=%%PREFIX%%/lib/snoopy.so
- lynx http://linux.com/
- unset LD_PRELOAD
-
- To remove snoopy later, simply edit /etc/ld.so.preload and remove the
-- reference to snoopy.so and delete /usr/local/lib/snoopy.so.
-+ reference to snoopy.so and delete %%PREFIX%%/lib/snoopy.so.
-
-
-