Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 01:16:49 +0800 (CST)
From:      Autrijus Tang <autrijus@autrijus.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64346: unbreak devel/subversion/ with -DWITH_PERL
Message-ID:  <20040316171649.D6C943FC0@mail.autrijus.org>
Resent-Message-ID: <200403161720.i2GHK6Ns030440@freefall.freebsd.org>

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

>Number:         64346
>Category:       ports
>Synopsis:       unbreak devel/subversion/ with -DWITH_PERL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 09:20:06 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Autrijus Tang
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD aut.dyndns.org 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Oct 30 08:47:57 CST 2003 root@aut.dyndns.org:/usr/src/sys/compile/NOR i386


>Description:
	Currently, www/subversion reports BROKEN when building with
	Perl 5.8.0 or earlier.  However, ports requiring a specific
	version of Perl should probably mark IGNORE, because having
	bento building them are pretty pointless.

	The second chunk fixes the "make" semantic for the SVN::Core
	Perl module; it is unusual for ports to run "make test" for a
	perl module, and in this case the test may fail if there was
	no "/usr/local/bin/svn" installed.

>How-To-Repeat:
	n/a

>Fix:

--- Makefile.orig	Wed Mar 17 01:10:17 2004
+++ Makefile	Wed Mar 17 01:11:04 2004
@@ -41,7 +41,7 @@
 
 .if defined(WITH_PERL)
 .if ${PERL_LEVEL} < 500800
-BROKEN=	"Subversion's Perl bindings need perl 5.8.0 or greater. Upgrade your perl and try again"
+IGNORE=	"Subversion's Perl bindings need perl 5.8.0 or greater. Upgrade your perl and try again"
 .endif
 SWIG_BINDINGS+=		perl
 USE_PERL5=		yes
@@ -215,7 +215,7 @@
 	    CCFLAGS="${CCFLAGS}" CC="${CC}" \
 	    ${PERL} Makefile.PL PREFIX="${PREFIX}" \
 	    INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" ; \
-	  ${MAKE} all test
+	  ${MAKE} all
 .endif
 .if defined(WITH_PYTHON)
 	cd ${WRKSRC} ; \
>Release-Note:
>Audit-Trail:
>Unformatted:



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