aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Filesys-SmbClient/files
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-08-10 09:39:40 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-08-10 09:39:40 +0000
commit319dd1c84f423bd96cee3bec296d504f1f1c8eda (patch)
treee75d0cb848a03983695da30816156d9b29677980 /net/p5-Filesys-SmbClient/files
parent9f250025a34cf547f6fc6fa9c9b372a8f5c9ea1d (diff)
downloadports-319dd1c84f423bd96cee3bec296d504f1f1c8eda.tar.gz
ports-319dd1c84f423bd96cee3bec296d504f1f1c8eda.zip
Notes
Diffstat (limited to 'net/p5-Filesys-SmbClient/files')
-rw-r--r--net/p5-Filesys-SmbClient/files/patch-Makefile.PL41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/p5-Filesys-SmbClient/files/patch-Makefile.PL b/net/p5-Filesys-SmbClient/files/patch-Makefile.PL
new file mode 100644
index 000000000000..6c878dc36391
--- /dev/null
+++ b/net/p5-Filesys-SmbClient/files/patch-Makefile.PL
@@ -0,0 +1,41 @@
+--- Makefile.PL.orig Sun Aug 10 11:25:48 2003
++++ Makefile.PL Sun Aug 10 11:29:22 2003
+@@ -5,36 +5,8 @@
+ # special flag for AIX
+ ($^O =~ m/AIX/i) ? ($ccfl = '-qcpluscmt') : ($ccfl = '');
+
+-# path libsmbclient.h
+-my $include = try_to_find("libsmbclient.h");
+-$include = prompt("Where can I find libsmbclient.h ?", $include);
+-warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
+-
+-# path libsmbclient.so
+-my $lib = try_to_find("libsmbclient.so");
+-$lib = prompt("Where can I find libsmbclient.so ?",$lib);
+-warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
+-
+-# tests demande ?
+-my $ans =
+- prompt("Do you want make tests ?(you will be prompted for server / \n".
+- "worgroup / share / user / password to make read write access.",
+- "yes");
+-if ($ans =~ /^y(es)?$/i)
+- {
+- my $server = prompt("Server ?","localhost");
+- my $share = prompt("Share ?","homes");
+- my $workgroup = prompt("Workgroup/Domain ?","");
+- my $user = prompt("Smb user ?",$ENV{'USER'});
+- my $pass = prompt("Smb password ?");
+- open(FILE,">.c") || warn "Can't create .c for test: $!\n";
+- print FILE $server,"\t",$share,"\t",$workgroup,"\t",$user,"\t",$pass;
+- close FILE;
+- }
+-
+-# Trace for debug
+-$ans = prompt("Compile module with trace to STDERR ?", "no");
+-if ($ans =~ /^y(es)?$/i) { $define = "-DVERBOSE"; }
++my $include = '%%LOCALBASE%%/include/';
++my $lib = '%%LOCALBASE%%/lib/';
+
+ # Create config.h for alloca via configure
+ system("./configure") == 0 or die "Can't run configure:$!\n";