ports/72894: [PATCH] sysutils/lire: Fixed pod2man syntax issue

Frank J. Laszlo laszlof at vonostingroup.com
Tue Oct 19 20:00:23 UTC 2004

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

	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.

	cd /usr/ports/sysutils/lire && make install



--- 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
@@ -210,6 +211,23 @@
+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
+.for files in ${POD2MAN_FIX}
+	${REINPLACE_CMD} -e "s|\$$? \$$@|\$$? > \$$@|g" ${WRKSRC}/${files}
 	@${CAT} pkg-message
--- lire-pod2man.diff ends here ---


More information about the freebsd-ports-bugs mailing list