ports/56163: [PATCH] textproc/p5-XML-SimpleObject: fix bento build error

Lars Thegler lars at thegler.dk
Fri Aug 29 22:50:13 UTC 2003


>Number:         56163
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-XML-SimpleObject: fix bento build error
>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:   Fri Aug 29 15:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.8-STABLE FreeBSD 4.8-STABLE #9: Tue Jul 29 01:39:22 CEST 2003
>Description:
- Fix bento build error (mark IGNORE for perl < 5.6)
- Make portlint happy

Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:

--- p5-XML-SimpleObject-0.53.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/p5-XML-SimpleObject/Makefile /usr/home/lth/ports/textproc/p5-XML-SimpleObject/Makefile
--- /usr/ports/textproc/p5-XML-SimpleObject/Makefile	Wed Jun 25 07:04:14 2003
+++ /usr/home/lth/ports/textproc/p5-XML-SimpleObject/Makefile	Sat Aug 30 00:36:11 2003
@@ -12,16 +12,21 @@
 MASTER_SITE_SUBDIR=	XML
 PKGNAMEPREFIX=	p5-
 
-WRKSRC?=	${WRKDIR}/${PORTNAME}${PORTVERSION}
-
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	API for accessing the structure of an XML document
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 
 PERL_CONFIGURE=	YES
 
 MAN3=		XML::SimpleObject.3
-MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL /usr/home/lth/ports/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL
--- /usr/ports/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL	Thu Jan  1 01:00:00 1970
+++ /usr/home/lth/ports/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL	Sat Aug 30 00:34:42 2003
@@ -0,0 +1,8 @@
+--- Makefile.PL.orig	Sat Aug 30 00:34:00 2003
++++ Makefile.PL	Sat Aug 30 00:32:16 2003
+@@ -10,4 +10,5 @@
+ WriteMakefile(
+     'NAME'	=> 'XML::SimpleObject',
+     'VERSION_FROM' => 'SimpleObject.pm', # finds $VERSION
++    'DIR' => [],
+ );
--- p5-XML-SimpleObject-0.53.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list