ports/118448: misc/ytree broken on FreeBSD-7 (patch)

Bernd Luevelsmeyer bdluevel at heitec.net
Wed Dec 5 14:30:01 UTC 2007


>Number:         118448
>Category:       ports
>Synopsis:       misc/ytree broken on FreeBSD-7 (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 14:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Luevelsmeyer
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD 7.0-BETA3 i386
>Description:
The port misc/ytree is marked "broken" on FreeBSD-7. With the attached
patch it appears to work. I've taken out the "-lmytinfo" which prevents
it from linking, and it doesn't seem to miss it. I've checked on
FreeBSD-6, and there it seems to be unnecessary too; I don't have access
to older versions.

>How-To-Repeat:
>Fix:
diff -ruN ytree.old/Makefile ytree/Makefile
--- ytree.old/Makefile	2007-10-01 11:22:24.000000000 +0200
+++ ytree/Makefile	2007-11-24 18:33:45.000000000 +0100
@@ -30,10 +30,4 @@
 	fi
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN ytree.old/files/patch-aa ytree/files/patch-aa
--- ytree.old/files/patch-aa	2007-08-07 21:11:35.000000000 +0200
+++ ytree/files/patch-aa	2007-11-24 18:16:49.000000000 +0100
@@ -21,7 +21,7 @@
 -#CFLAGS      = -DCOLOR_SUPPORT -DNCURSES
 -#LDFLAGS     = -lncurses -lmytinfo -lcompat
 +CFLAGS      = -DCOLOR_SUPPORT -DNCURSES
-+LDFLAGS     = -lncurses -lmytinfo -lcompat
++LDFLAGS     = -lncurses -lcompat
  
  ###########################
  # MAC OS X
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list