Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 15:18:02 -0500
From:      Matthew Graybosch <matthew@starbreaker.net>
To:        freebsd-questions@freebsd.org
Subject:   Installing KDoc from ports with Perl 5.6.1
Message-ID:  <200111171513.24736@starbreaker.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When trying to build KDoc from ports to use with KDevelop I receive 
the following output:

sephiroth# make install
===>  kdoc-2.1 is marked as broken: Requires Perl version 5.6.0.
sephiroth# 

I have Perl 5.005_03 in /usr/bin/perl and Perl 5.6.1 in 
/usr/local/bin/perl. What do I have to do to make the Makefile for 
KDoc talk to the Perl binary in "/usr/local/bin" instead of the 
binary in "/usr/bin"? I'm including the output of "less Makefile" 
because the Makefile itself doesn't let me set the Perl path:

# New ports collection makefile for:    kdoc
# Date created:                         4 March 2001
# Whom:                                 Dmitry Sivachenko 
<demon@FreeBSD.org>
#
# $FreeBSD: ports/textproc/kdoc/Makefile,v 1.3 2001/03/28 09:58:40 
demon Exp $
#

PORTNAME=       kdoc
PORTVERSION=    2.1
CATEGORIES=     textproc kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=     
stable/${PORTVERSION}/distribution/tar/generic/src

MAINTAINER=     demon@FreeBSD.org

USE_BZIP2=      yes

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500007
BROKEN=         "Requires Perl version 5.6.0"
.endif

USE_GMAKE=      yes
GNU_CONFIGURE=  yes

MAN1=           kdoc.1 qt2kdoc.1 makekdedoc.1
pre-configure:
        ${PERL} -pi -e 
"s#share/kdoc#lib/perl5/site_perl/${PERL_VER}#" ${WRKSRC}
/Makefile.in

.include <bsd.port.post.mk>

Thanks in advance.
- -- 
Matthew Graybosch
http://www.starbreaker.net
GnuPG Key ID: 0x7D488659
"This message has been satirized for your protection."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE79sX6cCiK1X1IhlkRAgQ0AJ9KP0f5hUAjArDZp1TaZagDQNfUcgCgioKn
CI7unKmc9h325xt/mpDnWms=
=ocZ1
-----END PGP SIGNATURE-----

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




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