summaryrefslogtreecommitdiff
path: root/net/p5-Filesys-SmbClient/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Filesys-SmbClient/files/patch-Makefile.PL')
-rw-r--r--net/p5-Filesys-SmbClient/files/patch-Makefile.PL45
1 files changed, 0 insertions, 45 deletions
diff --git a/net/p5-Filesys-SmbClient/files/patch-Makefile.PL b/net/p5-Filesys-SmbClient/files/patch-Makefile.PL
deleted file mode 100644
index 83968e5fc36c..000000000000
--- a/net/p5-Filesys-SmbClient/files/patch-Makefile.PL
+++ /dev/null
@@ -1,45 +0,0 @@
---- Makefile.PL.orig 2005-03-03 16:36:04.000000000 +0100
-+++ Makefile.PL 2009-02-16 13:07:09.000000000 +0100
-@@ -5,39 +5,11 @@
- # 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 = '%%SAMBAINCLUDES%%/';
-+my $lib = '%%SAMBALIBS%%/';
-
- # Create config.h for alloca via configure
--my $prefix = $include;
-+my $prefix = '%%LOCALBASE%%';
- $prefix=$1 = $1 if $include=~m!(.*)include$!;
- system("./configure --with-samba-prefix=$prefix") == 0
- or die "Can't run configure:$!\n";