Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 11:30:15 +0100 (CET)
From:      Frank Wall <fw@moov.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skv@FreeBSD.org
Subject:   ports/140103: [PATCH] devel/otrs: fix build problem (dependency error)
Message-ID:  <200910301030.n9UAUFcf044813@boron.inotronic-intern.de>
Resent-Message-ID: <200910301040.n9UAe8AE034491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140103
>Category:       ports
>Synopsis:       [PATCH] devel/otrs: fix build problem (dependency error)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 30 10:40:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Frank Wall
>Release:        FreeBSD 7.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009
>Description:
The latest update of devel/p5-Date-Pcalc leads to build 
problems. The dependency devel/p5-Date-Pcalc moved it's
files to a different location.

A small change to the dependency list fixes the build problem.

Port maintainer (skv@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99

>How-To-Repeat:
1. cd /usr/ports/devel/otrs
2. make install
3. build fails even if devel/p5-Date-Pcalc is installed:
===>   otrs-2.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/Date/Pcalc.pm - not found

>Fix:

--- otrs-2.4.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/otrs/Makefile /tmp/otrs/Makefile
--- /usr/ports/devel/otrs/Makefile	2009-09-04 12:50:53.000000000 +0200
+++ /tmp/otrs/Makefile	2009-10-30 11:19:47.000000000 +0100
@@ -17,7 +17,7 @@
 COMMENT=	Open Ticket Request System
 
 BUILD_DEPENDS=	p5-CGI.pm>=3.33:${PORTSDIR}/www/p5-CGI.pm \
-		${SITE_PERL}/Date/Pcalc.pm:${PORTSDIR}/devel/p5-Date-Pcalc \
+		${SITE_PERL}/${PERL_ARCH}/Date/Pcalc.pm:${PORTSDIR}/devel/p5-Date-Pcalc \
 		${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
 		${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
 		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \

--- otrs-2.4.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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