Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 16:03:34 +0100 (CET)
From:      Bernd Luevelsmeyer <bdluevel@heitec.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118448: misc/ytree broken on FreeBSD-7 (patch)
Message-ID:  <200712031503.lB3F3YVO035309@tostan.admin.er.heitec.net>
Resent-Message-ID: <200712051430.lB5EU17D025124@freefall.freebsd.org>

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

>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:



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