Bug 148331 - A DBI driver for the Cego database for Perl 5
Summary: A DBI driver for the Cego database for Perl 5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 20:40 UTC by Kurt Jaeger
Modified: 2010-07-07 15:10 UTC (History)
0 users

See Also:


Attachments
file.shar (4.12 KB, text/plain)
2010-07-02 20:40 UTC, Kurt Jaeger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger 2010-07-02 20:40:00 UTC
	A DBI driver for the Cego database for Perl 5
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-07-02 21:20:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-07-04 16:20:02 UTC
Error:

http://people.freebsd.org/~sylvio/p5-DBD-cego-1.1.9.log
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-07-04 16:20:38 UTC
State Changed
From-To: open->feedback

- Waiting feedback of submitter.
Comment 4 Kurt Jaeger 2010-07-04 18:29:07 UTC
Hi!

> Synopsis: A DBI driver for the Cego database for Perl 5
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: sylvio
> State-Changed-When: Sun Jul 4 15:20:38 UTC 2010
> State-Changed-Why: 
> - Waiting feedback of submitter.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=148331

I'm not sure what is the problem, but from what I read, it looks
like cego or some other version was already installed ?

I've seen this kind of problem many times

cd someport
make install

and then it complains that it's already installed.

This has nothing to do with p5-DBD-cego, it normally happens,
when the same or some other version of a port is already installed.

If you can tell me how I can check this in the Makefile, I'll
to fix it, but right now, I'm at loss.

-- 
pi@opsec.eu            +49 171 3101372                        10 years to go !
Comment 5 Sylvio César Teixeira Amorim 2010-07-05 15:05:02 UTC
Error:

http://people.freebsd.org/~sylvio/p5-DBD-cego-1.1.9.log

The port have depends to
/usr/local/lib/perl5/site_perl/5.10.1/mach/DBI.pm but the port
databases/cego not install this file, I believe that the depends is
other, maybe the port p5-DBI and not databases/cego.

The plist must have the variables to perl and not full path, ex.:
%%SITE_PERL%%, %%SITE_ARCH%%, ...
Comment 6 Kurt Jaeger 2010-07-05 20:38:30 UTC
Hi!

> http://people.freebsd.org/~sylvio/p5-DBD-cego-1.1.9.log
> 
> The port have depends to
> /usr/local/lib/perl5/site_perl/5.10.1/mach/DBI.pm but the port
> databases/cego not install this file, I believe that the depends is
> other, maybe the port p5-DBI and not databases/cego.

You're absolutly right, fixed (attached shar).

> The plist must have the variables to perl and not full path, ex.:
> %%SITE_PERL%%, %%SITE_ARCH%%, ...

Thanks, fixed that, too. I did not find any examples of how to handle
man pages, but somehow, none of the p5-* packages I looked at had
any man page reference in their plists ? Any hint what I do wrong ?

-------------------

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-DBD-cego
#	p5-DBD-cego/Makefile
#	p5-DBD-cego/pkg-descr
#	p5-DBD-cego/distinfo
#	p5-DBD-cego/files
#	p5-DBD-cego/files/patch-makefile-pl
#	p5-DBD-cego/pkg-plist
#
echo c - p5-DBD-cego
mkdir -p p5-DBD-cego > /dev/null 2>&1
echo x - p5-DBD-cego/Makefile
sed 's/^X//' >p5-DBD-cego/Makefile << '3ea606a3cabc54bd4b946bea94c1a5b3'
X# New ports collection makefile for:	p5-DBD-cego
X# Date created:				Jul  2, 2010
X# Whom:					Kurt Jaeger <fbsd-ports@opsec.eu>
X#
X# $FreeBSD$
X
XPORTNAME=	DBD-cego
XPORTVERSION=	1.1.9
XCATEGORIES=	databases perl5
XMASTER_SITES=	http://www.lemke-it.com/
XPKGNAMEPREFIX=	p5-
XDISTNAME=	DBD-cego-${PORTVERSION}
X
XMAINTAINER=	fbsd-ports@opsec.eu
XCOMMENT=	A Cego DBI driver for Perl 5
X
XBUILD_DEPENDS=	p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI
XRUN_DEPENDS=	${BUILD_DEPENDS}
XLIB_DEPENDS=	cego.1:${PORTSDIR}/databases/cego
X
XLICENSE=	GPLv2
XWRKSRC=		${WRKDIR}/DBD-cego
XPERL_CONFIGURE=		yes
XCC=			g++
X
X.include <bsd.port.mk>
3ea606a3cabc54bd4b946bea94c1a5b3
echo x - p5-DBD-cego/pkg-descr
sed 's/^X//' >p5-DBD-cego/pkg-descr << 'daf9043f6cb0065f846ccd27ec24bff3'
XA DBI driver for the Cego database for Perl 5
X
XMany more details are available at:
X
XWWW: http://www.lemke-it.com/
daf9043f6cb0065f846ccd27ec24bff3
echo x - p5-DBD-cego/distinfo
sed 's/^X//' >p5-DBD-cego/distinfo << '3bb74ae1aa80612a564f127d7893a43e'
XMD5 (DBD-cego-1.1.9.tar.gz) = 4c220989e07557873b7ce3e67420897f
XSHA256 (DBD-cego-1.1.9.tar.gz) = 21a9c28961a9c84716220959c9bde77de3a45344f1cc53e51a732adc43ceda84
XSIZE (DBD-cego-1.1.9.tar.gz) = 23577
3bb74ae1aa80612a564f127d7893a43e
echo c - p5-DBD-cego/files
mkdir -p p5-DBD-cego/files > /dev/null 2>&1
echo x - p5-DBD-cego/files/patch-makefile-pl
sed 's/^X//' >p5-DBD-cego/files/patch-makefile-pl << '4b33a43310aecbccc9a0623e8cdf1296'
X--- Makefile.PL	2010-07-02 21:08:00.000000000 +0200
X+++ Makefile.PL-new	2010-07-02 21:19:41.000000000 +0200
X@@ -29,24 +29,16 @@
X     "verbose",
X     ) || die Usage();
X 
X-if (! exists $opt->{'prefix'}) 
X-{
X-  print "Missing prefix, use option --prefix\n"; 
X-  die Usage();
X-}
X-
X use vars qw($loadlibs);
X-$loadlibs= "-L" . $opt->{'prefix'} . " -lBase";
X+$loadlibs= " -lBase";
X 
X WriteMakefile(
X     'NAME'          => 'DBD::Cego',
X     'VERSION_FROM'  => 'Cego.pm',
X     'PREREQ_PM'     => {DBI => 1.03},
X     'OBJECT'        => '$(O_FILES)',
X-    'INC'           => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include',
X-    'MYEXTLIB'    => $opt->{'prefix'} . "/lib/libcego.a " 
X-	      . $opt->{'prefix'} . "/lib/libXML.a " 
X-	      . $opt->{'prefix'} . "/lib/libBase.a",
X+    'INC'           => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include',
X+    'MYEXTLIB'    => " -lcego -lXML -lBase ",
X     "CC" => "g++",
X     "LD" => "g++",
X     "XSPROTOARG" => "-noprototypes",
X@@ -58,12 +50,7 @@
X 
X sub Usage {
X   print STDERR <<"USAGE";
X-Usage: perl $0 [options]
X-
X-Possible options are:
X-
X-  --prefix=<prefix path>       Use <prefix> for setting up the appropriate prefix path
X-                               to find cego libs and includes
X+Usage: perl $0
X 
X USAGE
X   exit 1;
4b33a43310aecbccc9a0623e8cdf1296
echo x - p5-DBD-cego/pkg-plist
sed 's/^X//' >p5-DBD-cego/pkg-plist << 'a73c5c2ea256fac8c9767305a09eded8'
X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/Cego.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/Cego.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/Cego.so
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/DBD
a73c5c2ea256fac8c9767305a09eded8
exit


-- 
pi@opsec.eu            +49 171 3101372                        10 years to go !
Comment 7 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-07-07 15:06:11 UTC
State Changed
From-To: feedback->closed

New port added, with minor changes. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2010-07-07 15:06:16 UTC
sylvio      2010-07-07 14:06:02 UTC

  FreeBSD ports repository

  Modified files:
    databases            Makefile 
  Added files:
    databases/p5-DBD-cego Makefile distinfo pkg-descr pkg-plist 
    databases/p5-DBD-cego/files patch-makefile-pl 
  Log:
  A DBI driver for the Cego database for Perl 5
  
  Many more details are available at:
  
  WWW:    http://www.lemke-it.com/
  
  PR:             ports/148331
  Submitted by:   Kurt Jaeger <fbsd-ports@opsec.eu>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.889     +1 -0      ports/databases/Makefile
  1.1       +28 -0     ports/databases/p5-DBD-cego/Makefile (new)
  1.1       +3 -0      ports/databases/p5-DBD-cego/distinfo (new)
  1.1       +44 -0     ports/databases/p5-DBD-cego/files/patch-makefile-pl (new)
  1.1       +5 -0      ports/databases/p5-DBD-cego/pkg-descr (new)
  1.1       +8 -0      ports/databases/p5-DBD-cego/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"