From 8b93872c36e0db88086a8a7a5e2f67a08cfff7ac Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sun, 20 May 2001 02:19:10 +0000 Subject: [PATCH] Upgrade to 1.1, Fix library link problem. Approved by: maintainer --- mail/p5-Mail-CClient/Makefile | 4 +++- mail/p5-Mail-CClient/distinfo | 2 +- mail/p5-Mail-CClient/files/patch-aa | 6 +++--- mail/p5-Mail-CClient/pkg-plist | 2 ++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/mail/p5-Mail-CClient/Makefile b/mail/p5-Mail-CClient/Makefile index 19117005c1fb..354c04dde6c9 100644 --- a/mail/p5-Mail-CClient/Makefile +++ b/mail/p5-Mail-CClient/Makefile @@ -6,7 +6,7 @@ # PORTNAME= CClient -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail @@ -18,6 +18,8 @@ MAINTAINER= kbyanc@posi.net LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient PERL_CONFIGURE= yes +CONFIGURE_ARGS= INC="-I${PREFIX}/include/c-client" \ + LIBS="-L${PREFIX}/lib -lc-client4" MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Mail::Cclient.3 diff --git a/mail/p5-Mail-CClient/distinfo b/mail/p5-Mail-CClient/distinfo index 8056e2e85d96..b4fa41298aab 100644 --- a/mail/p5-Mail-CClient/distinfo +++ b/mail/p5-Mail-CClient/distinfo @@ -1 +1 @@ -MD5 (Mail-Cclient-1.0.tar.gz) = ec24ff4f71b2f1853e4bf9c5011e8290 +MD5 (Mail-Cclient-1.1.tar.gz) = 3966b181ec635de962e49b252f142d0c diff --git a/mail/p5-Mail-CClient/files/patch-aa b/mail/p5-Mail-CClient/files/patch-aa index f0102800515a..9ebd12c63d5b 100644 --- a/mail/p5-Mail-CClient/files/patch-aa +++ b/mail/p5-Mail-CClient/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.PL.orig Mon Jun 7 04:59:14 1999 -+++ Makefile.PL Wed Jul 5 03:32:57 2000 +--- 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; @@ -45,7 +45,7 @@ - LIBS => ["-lc"], - OBJECT => "Cclient.o @objects" + INC => "-I\${PREFIX}/include/c-client", -+ LIBS => "-lc -L\${PREFIX}/lib -lc-client4", ++ LIBS => "-L\${PREFIX}/lib -lc-client4", + OBJECT => "Cclient.o" ); diff --git a/mail/p5-Mail-CClient/pkg-plist b/mail/p5-Mail-CClient/pkg-plist index ea0d7163568f..006b9dac6e13 100644 --- a/mail/p5-Mail-CClient/pkg-plist +++ b/mail/p5-Mail-CClient/pkg-plist @@ -3,3 +3,5 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Cclient/Cclient.so lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Cclient/Cclient.bs lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Cclient/.packlist @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Cclient +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Mail 2>/dev/null || true