openbsd-ports/net/p5-Net-Dict/patches/patch-Makefile_PL
sturm dc93d71c19 Initial import of Net-Dict 2.07
A perl class for looking up words and their definitions on
network dictionary servers. Net::Dict provides a simple DICT
client API for the network protocol described in RFC2229.

from Sam Smith <s at msmith dot net>
2004-01-05 17:45:36 +00:00

25 lines
724 B
Plaintext

--- Makefile.PL Tue Dec 30 19:22:01 2003
+++ Makefile.PL Tue Dec 30 19:22:36 2003
@@ -48,8 +48,8 @@
EOF
- $host = prompt('what is the hostname for the DICT server?', $DEFAULT_HOST);
- $port = prompt('what is the port for the DICT server?', $DEFAULT_PORT);
+ #$host = prompt('what is the hostname for the DICT server?', $DEFAULT_HOST);
+ #$port = prompt('what is the port for the DICT server?', $DEFAULT_PORT);
print "\nWriting test config $test_config_file\n\n";
open(CFGFILE, "> $test_config_file")
@@ -62,8 +62,8 @@
# This file is auto-generated by Makefile.PL
#
use vars qw(\$HOST \$PORT);
-\$HOST = '$host';
-\$PORT = $port;
+\$HOST = '$DEFAULT_HOST';
+\$PORT = $DEFAULT_PORT;
1;
EOF