summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-CClient/files/patch-aa
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-02 17:18:12 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-02 17:18:12 +0000
commit2d655bde7c59e4c536aa76e4d120e6c606bee8ba (patch)
treebe41a79b2ae833beef963b24a9017c782d7f8194 /mail/p5-Mail-CClient/files/patch-aa
parent* Treat all CD burners as RW to allow for blanking disks (diff)
Update to 1.8
Minor cleanups Take over maintainership (timeout > 4 months) PR: 52279 Submitted by: myself
Notes
Notes: svn path=/head/; revision=90048
Diffstat (limited to 'mail/p5-Mail-CClient/files/patch-aa')
-rw-r--r--mail/p5-Mail-CClient/files/patch-aa51
1 files changed, 0 insertions, 51 deletions
diff --git a/mail/p5-Mail-CClient/files/patch-aa b/mail/p5-Mail-CClient/files/patch-aa
deleted file mode 100644
index 9ebd12c63d5b..000000000000
--- a/mail/p5-Mail-CClient/files/patch-aa
+++ /dev/null
@@ -1,51 +0,0 @@
---- Makefile.PL.orig Mon Jun 7 19:59:14 1999
-+++ Makefile.PL Thu May 10 06:53:52 2001
-@@ -1,45 +1,10 @@
- use ExtUtils::MakeMaker;
-
--if (shift(@ARGV) =~ /CCLIENT_DIR=(.*)/) {
-- $CCLIENT_DIR = $1;
--} else {
-- die "You need to specify the CCLIENT_DIR directory--read README\n";
--}
--
--if (! -r "$CCLIENT_DIR/c-client.a") {
-- die "CCLIENT_DIR $CCLIENT_DIR does not contain c-client.a\n";
--}
--#
--# We want to turn Cclient.o (ours) plus the object files in the
--# $CCLIENT_DIR/c-client.a archive into a shared object. Simply
--# including both in the MakeMaker OBJECT list works fine for Linux
--# but under Digital UNIX, the combination of its ar and "ld -shared"
--# can't cope with simply "ar cr tmp.a Cclient.o .../c-client.a".
--# To get around that look at the contents of the c-client.a archive
--# and extract all .o files from it into the current directory. Then
--# we set OBJECT to be our Cclient.o plus all of those. Blech.
--#
--
--print "Examining archive file $CCLIENT_DIR/c-client.a...\n";
--chomp(@contents = `ar t $CCLIENT_DIR/c-client.a`);
--@objects = grep(/\.o$/, @contents);
--print "Extracting object files from archive: ", join(", ", @objects), "\n";
--system("ar", "x", "$CCLIENT_DIR/c-client.a", @objects);
--my $err = $? >> 8;
--if ($err) {
-- print "Extraction failed: ar returned exit code $err\n",
-- "Please extract them manually into the current directory\n",
-- "edit Makefile.PL to remove this section of code and then rerun\n",
-- " perl Makefile.PL\n";
-- exit 1;
--}
--print "Extraction was apparently successful\n";
--
- WriteMakefile(
- NAME => "Mail::Cclient",
- VERSION_FROM => "Cclient.pm",
-- INC => "-I$CCLIENT_DIR",
-- LIBS => ["-lc"],
-- OBJECT => "Cclient.o @objects"
-+ INC => "-I\${PREFIX}/include/c-client",
-+ LIBS => "-L\${PREFIX}/lib -lc-client4",
-+ OBJECT => "Cclient.o"
- );
-