aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-CClient
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-05-20 10:19:10 +0800
committervanilla <vanilla@FreeBSD.org>2001-05-20 10:19:10 +0800
commit71f89b76af3328988546cd07195d5398097a2650 (patch)
treef6a81cebffd4e191ed65530ae7e1802fb6d507bb /mail/p5-Mail-CClient
parentfdec972e096012a7b3ad9b8d7516798d38fd5522 (diff)
downloadfreebsd-ports-gnome-71f89b76af3328988546cd07195d5398097a2650.tar.gz
freebsd-ports-gnome-71f89b76af3328988546cd07195d5398097a2650.tar.zst
freebsd-ports-gnome-71f89b76af3328988546cd07195d5398097a2650.zip
Upgrade to 1.1, Fix library link problem.
Approved by: maintainer
Diffstat (limited to 'mail/p5-Mail-CClient')
-rw-r--r--mail/p5-Mail-CClient/Makefile4
-rw-r--r--mail/p5-Mail-CClient/distinfo2
-rw-r--r--mail/p5-Mail-CClient/files/patch-aa6
-rw-r--r--mail/p5-Mail-CClient/pkg-plist2
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