ports/58887: [PATCH] devel/newfile: unbreak on 5.x

TAKATSU Tomonari tota at rtfm.jp
Mon Nov 3 17:00:31 UTC 2003


>Number:         58887
>Category:       ports
>Synopsis:       [PATCH] devel/newfile: unbreak on 5.x
>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:   Mon Nov 03 09:00:28 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     TAKATSU Tomonari
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
unbreak on 5.x

Port maintainer (sergei at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

diff -ruN --exclude=CVS /usr/ports/devel/newfile.orig/Makefile /usr/ports/devel/newfile/Makefile
--- /usr/ports/devel/newfile.orig/Makefile	Mon Nov  3 12:56:34 2003
+++ /usr/ports/devel/newfile/Makefile	Tue Nov  4 01:06:17 2003
@@ -19,7 +19,11 @@
 		rdoc:${PORTSDIR}/textproc/ruby-rdoc \
 		pod2man:${PORTSDIR}/lang/perl5
 
-BROKEN=		"Does not build on 4.x/Broken pkg-plist on 5.x, will be removed after Feb 2"
+.include <bsd.port.pre.mk>
+
+.if ( ${OSVERSION} < 500000 )
+BROKEN=		"Does not build on 4.x, will be removed after Feb 2"
+.endif
 
 USE_RUBY=	yes
 USE_REINPLACE=	yes
@@ -33,4 +37,4 @@
 	${WRKSRC}/Makefile.in
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/newfile.orig/pkg-plist /usr/ports/devel/newfile/pkg-plist
--- /usr/ports/devel/newfile.orig/pkg-plist	Wed Sep  3 05:48:50 2003
+++ /usr/ports/devel/newfile/pkg-plist	Mon Nov  3 23:04:25 2003
@@ -1,11 +1,7 @@
 bin/newfile
 %%PORTDOCS%%%%DOCSDIR%%/newfile.html
 %%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Cond.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileFinder.html
 %%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileProcessor.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Installed.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/NewfileOpts.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/OptionError.html
 %%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseError.html
 %%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseMsg.html
 %%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseWarning.html

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



More information about the freebsd-ports-bugs mailing list