Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 15:54:22 -0400 (EDT)
From:      "Frank J. Laszlo" <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72894: [PATCH] sysutils/lire: Fixed pod2man syntax issue
Message-ID:  <200410191954.i9JJsMQk060530@dungeon.franksworld.org>
Resent-Message-ID: <200410192000.i9JK0MaT002084@freefall.freebsd.org>

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

>Number:         72894
>Category:       ports
>Synopsis:       [PATCH] sysutils/lire: Fixed pod2man syntax issue
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 20:00:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD dungeon.franksworld.org 4.10-STABLE FreeBSD 4.10-STABLE #2: Tue Sep 28 21:47:15 EDT 2004 laszlof@dungeon.franksworld.org:/usr/obj/usr/src/sys/DUNGEON i386


	
>Description:
	Maintainer CC'd.

	sysutils/lire does not provide proper syntax to pod2man during installation resulting in the following
	error message:
	
	/usr/bin/pod2man --section=1 --center="LogReport's Lire Documentation" --release='Lire 2.0.1' lire.in lire.1
	/usr/bin/pod2man: Need one and only one podpage argument
	usage: /usr/bin/pod2man [options] podpage
	Options are:
	        --section=manext      (default "1")
		--release=relpatch    (default "perl 5.008, patch 00")
		--center=string       (default "User Contributed Perl Documentation")
		--date=string         (default "1/Sep/2004")
		--fixed=font          (default "CW")
		--official            (default NOT)
	        --lax                 (default NOT)
	gmake[2]: *** [lire.1] Error 2

	The attached patch will fix this issue within the port, But I suggest the maintainer notify the
	developer of this problem.

>How-To-Repeat:
	cd /usr/ports/sysutils/lire && make install

>Fix:

	

--- lire-pod2man.diff begins here ---
--- lire.orig/Makefile	Fri Oct 15 06:32:08 2004
+++ lire/Makefile	Tue Oct 19 15:35:11 2004
@@ -38,6 +38,7 @@
 USE_GNOME=	libxml2 libxslt
 USE_PERL5=	yes
 USE_GMAKE=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+="--with-docbookdir=${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd"
 
@@ -210,6 +211,23 @@
 .endif
 
 RUN_DEPENDS+=	${BUILD_DEPENDS}
+
+POD2MAN_FIX=	all/etc/Makefile.in all/script/Makefile.in all/lib/Makefile.in all/lib/xml/dtd/Makefile.in \
+		all/lib/config-spec/Makefile.in all/lib/Lire/Makefile.in all/lib/Lire/UI/Makefile.in \
+		all/lib/Lire/Report/Makefile.in all/lib/Lire/ChartTypes/Makefile.in all/lib/Lire/OutputFormats/Makefile.in \
+		all/lib/Lire/ReportParser/Makefile.in all/lib/Lire/SQLExt/Makefile.in all/lib/Lire/Test/Makefile.in \
+		all/lib/Lire/Config/Makefile.in all/lib/Firewall/Makefile.in all/lib/tests/Makefile.in \
+		all/lib/tests/helpers/Makefile.in all/man/Makefile.in all/schemas/Makefile.in dns/script/Makefile.in \
+		dnszone/script/Makefile.in database/script/Makefile.in dialup/script/Makefile.in email/script/Makefile.in \
+		firewall/script/Makefile.in firewall/lib/Makefile.in ftp/script/Makefile.in ftp/lib/Makefile.in \
+		msgstore/lib/Makefile.in msgstore/script/Makefile.in proxy/lib/Makefile.in proxy/script/Makefile.in \
+		spamfilter/script/Makefile.in syslog/script/Makefile.in www/script/Makefile.in doc/Makefile.in extras/Time/Makefile.in
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+pre-configure:
+.for files in ${POD2MAN_FIX}
+	${REINPLACE_CMD} -e "s|\$$? \$$@|\$$? > \$$@|g" ${WRKSRC}/${files}
+.endfor
 
 post-install:
 	@${CAT} pkg-message
--- lire-pod2man.diff ends here ---


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



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