Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 14:52:37 GMT
From:      Jan Sebosik <sebosik@demax.sk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124834: Leafpad works with GCC 4.2.1 on 7-STABLE
Message-ID:  <200806211452.m5LEqbYa025024@www.freebsd.org>
Resent-Message-ID: <200806211500.m5LF0Bbe072774@freefall.freebsd.org>

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

>Number:         124834
>Category:       ports
>Synopsis:       Leafpad works with GCC 4.2.1 on 7-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 15:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jan Sebosik
>Release:        7-STABLE
>Organization:
>Environment:
FreeBSD pc1 7.0-STABLE FreeBSD 7.0-STABLE #13: Tue Jun 10 20:35:16 CEST 2008     root@pc1:/usr/obj/usr/src/sys/pc1  i386
>Description:
Today I`ve succesfully compiled editors/leafpad with gcc 4.2.1 which is in base system. But in Makefile is forced USE_GCC=3.4, which is not required.

So I think we should remove this line from /usr/ports/editor/leafpad/Makefile.
>How-To-Repeat:
just compile leafpad with commented (or removed) USE_GCC flag on FreeBSD 7 and newer (FreeBSD 6 uses GCC 3 by default)
>Fix:
--- Makefile.old        2008-06-21 16:50:54.000000000 +0200
+++ Makefile    2008-06-21 16:51:03.000000000 +0200
@@ -16,7 +16,6 @@
 COMMENT=       GTK+ based simple text editor
 
 USE_GNOME=     gtk20 desktopfileutils intlhack
-USE_GCC=       3.4
 USE_GETTEXT=   YES
 GNU_CONFIGURE= yes
 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \

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



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