summaryrefslogtreecommitdiff
path: root/sysutils/wots
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
commit1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch)
treee0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /sysutils/wots
parentUpdate to 20081128. Changes include: (diff)
Introduce Perl 5.10.0
Notes
Notes: svn path=/head/; revision=231213
Diffstat (limited to 'sysutils/wots')
-rw-r--r--sysutils/wots/Makefile6
-rw-r--r--sysutils/wots/files/patch-Make.config11
2 files changed, 6 insertions, 11 deletions
diff --git a/sysutils/wots/Makefile b/sysutils/wots/Makefile
index d01b5a54b774..5e685d796f9d 100644
--- a/sysutils/wots/Makefile
+++ b/sysutils/wots/Makefile
@@ -30,4 +30,10 @@ PLIST_FILES= bin/wots
post-extract:
@${CHMOD} a+x ${WRKSRC}/Configure
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's/5.00\[4/5.0[01][04/' \
+ ${WRKSRC}/Configure
+ @${REINPLACE_CMD} -i '' -e 's=/usr/local=${PREFIX}=; s=/usr/bin/perl=${PERL}=' \
+ ${WRKSRC}/Make.config
+
.include <bsd.port.mk>
diff --git a/sysutils/wots/files/patch-Make.config b/sysutils/wots/files/patch-Make.config
deleted file mode 100644
index 790fc94ebf4d..000000000000
--- a/sysutils/wots/files/patch-Make.config
+++ /dev/null
@@ -1,11 +0,0 @@
---- Make.config.orig Sun Feb 22 00:55:42 2004
-+++ Make.config Sun Feb 22 00:56:07 2004
-@@ -4,7 +4,7 @@
- prefix = /usr/local
-
- # perl interpreter
--PERL = /usr/bin/perl
-+PERL = /usr/bin/env perl
- # flags to perl to check code before installation
- PERLFLAGS = -cw
-