diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-02-06 14:22:27 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-02-06 14:22:27 +0800 |
commit | 64781345fe046e9e9fe5cbc77d56abd6c4813785 (patch) | |
tree | c1bc024a3b0f9282b79f533a5ac47b3652db9901 /devel/p5-Cdk | |
parent | 2a00c3382359c92d17dd41cd7f82de0c6740905c (diff) | |
download | freebsd-ports-gnome-64781345fe046e9e9fe5cbc77d56abd6c4813785.tar.gz freebsd-ports-gnome-64781345fe046e9e9fe5cbc77d56abd6c4813785.tar.zst freebsd-ports-gnome-64781345fe046e9e9fe5cbc77d56abd6c4813785.zip |
1: Fixes shared library dependency and adapts api changes of the underlying
library, devel/cdk.
2: reset MAINTAINER to ports@
PR: ports/47712
Submitted by: maintainer.
Diffstat (limited to 'devel/p5-Cdk')
-rw-r--r-- | devel/p5-Cdk/Makefile | 5 | ||||
-rw-r--r-- | devel/p5-Cdk/files/patch-aa | 2 | ||||
-rw-r--r-- | devel/p5-Cdk/files/patch-ac | 30 | ||||
-rw-r--r-- | devel/p5-Cdk/files/patch-ad | 12 |
4 files changed, 46 insertions, 3 deletions
diff --git a/devel/p5-Cdk/Makefile b/devel/p5-Cdk/Makefile index e24d96c5758c..ac7c64664b76 100644 --- a/devel/p5-Cdk/Makefile +++ b/devel/p5-Cdk/Makefile @@ -7,14 +7,15 @@ PORTNAME= Cdk PORTVERSION= 4.9.6 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= http://www.vexus.ca/release/ PKGNAMEPREFIX= p5- DISTNAME= cdkperl -MAINTAINER= clkao@clkao.org +MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= cdk.1:${PORTSDIR}/devel/cdk +LIB_DEPENDS= cdk.4:${PORTSDIR}/devel/cdk WRKSRC= ${WRKDIR}/Cdk PERL_CONFIGURE= yes diff --git a/devel/p5-Cdk/files/patch-aa b/devel/p5-Cdk/files/patch-aa index 8e2eb4d9f938..5791e2facb01 100644 --- a/devel/p5-Cdk/files/patch-aa +++ b/devel/p5-Cdk/files/patch-aa @@ -8,7 +8,7 @@ + 'LIBS' => ['-L/usr/local/lib -lcdk -lncurses'], 'DEFINE' => '-DHAVE_USLEEP -DHAVE_NCURSES -DHAVE_COLOR -DCDK_PERL_EXT', - 'INC' => '-I/usr/include/ncurses -I/home/glover/local/include/cdk', -+ 'INC' => '-I/usr/include -I/usr/local/include/cdk', ++ 'INC' => '-I/usr/include -I/usr/local/include -I/usr/local/include/cdk', 'clean' => {FILES => 'Makefile.old'}, ); diff --git a/devel/p5-Cdk/files/patch-ac b/devel/p5-Cdk/files/patch-ac new file mode 100644 index 000000000000..ca94edd5078e --- /dev/null +++ b/devel/p5-Cdk/files/patch-ac @@ -0,0 +1,30 @@ +--- Cdk.xs.orig Fri Jan 31 15:36:39 2003 ++++ Cdk.xs Fri Jan 31 15:32:12 2003 +@@ -130,7 +130,7 @@ + /* + * The callback callback to run Perl callback routines. Are you confused??? + */ +-void PerlBindCB (EObjectType cdktype, void *object, void *data, chtype input) ++int PerlBindCB (EObjectType cdktype, void *object, void *data, chtype input) + { + dSP ; + +@@ -2385,12 +2385,13 @@ + RETVAL + + void +-Draw(object) ++Draw(object,Box=TRUE) + CDKMENU * object +- CODE: +- { +- drawCDKMenu (object); +- } ++ int Box = sv2int ($arg); ++ CODE: ++ { ++ drawCDKMenu (object,Box); ++ } + + void + Erase(object) diff --git a/devel/p5-Cdk/files/patch-ad b/devel/p5-Cdk/files/patch-ad new file mode 100644 index 000000000000..0cfc03c0c13f --- /dev/null +++ b/devel/p5-Cdk/files/patch-ad @@ -0,0 +1,12 @@ +--- demos/rolodex.orig Fri Dec 11 03:03:35 1998 ++++ demos/rolodex Fri Jan 31 15:34:45 2003 +@@ -22,7 +22,8 @@ + + # Create the menu object. + my $menu = new Cdk::Menu ('Menulist' => $menulist, 'Menuloc' => $menuloc); +-$menu->draw(); ++#$menu->draw("Box" => "FALSE"); ++$menu->activate(0); + + # Create the title. + my @title = ("<C></16/U>Cdk/Perl5 Rolodex", "<C></16>Written by Mike Glover"); |