Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 21:52:06 -0400 (EDT)
From:      "Stephen J. Roznowski" <sjr@home.net>
To:        ports@FreeBSD.ORG
Subject:   Need help with p5-DB_File port
Message-ID:  <199910010152.VAA78207@cc158233-a.catv1.md.home.com>

next in thread | raw e-mail | index | archive | help
I'm having a problem getting the attached port (not yet completed) to
install correctly. When I type "make install", it wants to install the
perl code under /usr/libexec.

What am I doing wrong?

Thanks,
-SR


# 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-DB_File
#
p5-DB_File/Makefile
#	p5-DB_File/pkg
#	p5-DB_File/pkg/COMMENT
#	p5-DB_File/pkg/DESCR
#	p5-DB_File/pkg/PLIST
#	p5-DB_File/files
#	p5-DB_File/files/md5
#	p5-DB_File/patches
#	p5-DB_File/patches/patch-aa
#
echo c - p5-DB_File
mkdir -p p5-DB_File > /dev/null 2>&1
echo x - p5-DB_File/Makefile
sed 's/^X//' >p5-DB_File/Makefile << 'END-of-p5-DB_File/Makefile'
X# New ports collection makefile for:	p5-DB_File
X# Version required:		1.71
X# Date created:			29 September 1999
X# Whom:				Stephen J. Roznowski <sjr@home.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	DB_File-1.71
XPKGNAME=	p5-DB_File-1.71
XCATEGORIES=	databases perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	DB_File
X
XMAINTAINER=	ports@FreeBSD.ORG
X
XUSE_PERL5=	YES
XCONFIGURE_ARGS=	PREFIX=${PREFIX}
X
X#BUILD_DEPENDS=	${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db
X
Xdo-configure:
X	@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
X
X.include <bsd.port.mk>
END-of-p5-DB_File/Makefile
echo c - p5-DB_File/pkg
mkdir -p p5-DB_File/pkg > /dev/null 2>&1
echo x - p5-DB_File/pkg/COMMENT
sed 's/^X//' >p5-DB_File/pkg/COMMENT << 'END-of-p5-DB_File/pkg/COMMENT'
XA perl5 module to use interface provided by Berkeley DB version 1.
END-of-p5-DB_File/pkg/COMMENT
echo x - p5-DB_File/pkg/DESCR
sed 's/^X//' >p5-DB_File/pkg/DESCR << 'END-of-p5-DB_File/pkg/DESCR'
XDB_File is a module which allows Perl programs to make use of the
Xfacilities provided by Berkeley DB version 1. (DB_File can be built
Xversion 2 or 3 of Berkeley DB, but it will only support the 1.x
Xfeatures).
X
XIf you want to make use of the new features available in Berkeley DB
X2.x or 3.x, use the Perl module BerkeleyDB instead.
X
XBerkeley DB is a C library which provides a consistent interface to a
Xnumber of database formats. DB_File provides an interface to all three
Xof the database types (hash, btree and recno) currently supported by
XBerkeley DB.
X
XFor further details see the documentation included at the end of the
Xfile DB_File.pm.
END-of-p5-DB_File/pkg/DESCR
echo x - p5-DB_File/pkg/PLIST
sed 's/^X//' >p5-DB_File/pkg/PLIST << 'END-of-p5-DB_File/pkg/PLIST'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File/DB_File.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File/DB_File.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File/autosplit.ix
Xlib/perl5/site_perl/%%PERL_VER%%/DB_File.pm
Xlib/perl5/site_perl/%%PERL_VER%%/auto/DB_File/.packlist
END-of-p5-DB_File/pkg/PLIST
echo c - p5-DB_File/files
mkdir -p p5-DB_File/files > /dev/null 2>&1
echo x - p5-DB_File/files/md5
sed 's/^X//' >p5-DB_File/files/md5 << 'END-of-p5-DB_File/files/md5'
XMD5 (DB_File-1.71.tar.gz) = f82762c13271da7e164b758dbb870bd1
END-of-p5-DB_File/files/md5
echo c - p5-DB_File/patches
mkdir -p p5-DB_File/patches > /dev/null 2>&1
echo x - p5-DB_File/patches/patch-aa
sed 's/^X//' >p5-DB_File/patches/patch-aa << 'END-of-p5-DB_File/patches/patch-aa'
X--- config.in.orig	Wed Sep 29 22:27:35 1999
X+++ config.in	Wed Sep 29 22:28:46 1999
X@@ -9,18 +9,19 @@
X #    Change the path below to point to the directory where dh.h is
X #    installed on your system.
X 
X+INCLUDE		= /usr/local/include/db2
X #INCLUDE	= /usr/local/include
X #INCLUDE	= /usr/local/BerkeleyDB/include
X-INCLUDE	= ./libraries/3.0.20
X+#INCLUDE	= ./libraries/3.0.20
X 
X # 2. Where is libdb?
X #
X #    Change the path below to point to the directory where libdb is
X #    installed on your system.
X 
X-#LIB	= /usr/local/lib
X+LIB	= /usr/local/lib
X #LIB	= /usr/local/BerkeleyDB/lib
X-LIB	= ./libraries/3.0.20
X+#LIB	= ./libraries/3.0.20
X 
X # 3. What version of Berkely DB have you got?
X #
X@@ -92,6 +93,7 @@
X #    below (by removing the leading #) and edit the line to use the name
X #    you have picked.
X  
X+DBNAME = -ldb2
X #DBNAME = -ldb-2.4.10
X 
X # end of file config.in
END-of-p5-DB_File/patches/patch-aa
exit



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910010152.VAA78207>