summaryrefslogtreecommitdiff
path: root/sysutils/wots
diff options
context:
space:
mode:
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
-