From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 2 02:50:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B25B7AE8 for ; Thu, 2 Jan 2014 02:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D1E91ACC for ; Thu, 2 Jan 2014 02:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s022o0Kl004349 for ; Thu, 2 Jan 2014 02:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s022o0AB004348; Thu, 2 Jan 2014 02:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 2 Jan 2014 02:50:00 GMT Resent-Message-Id: <201401020250.s022o0AB004348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stephen Hurd Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E768E828 for ; Thu, 2 Jan 2014 02:44:02 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D34221A8F for ; Thu, 2 Jan 2014 02:44:02 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s022i2Oi081766 for ; Thu, 2 Jan 2014 02:44:02 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s022i2Vw081755; Thu, 2 Jan 2014 02:44:02 GMT (envelope-from nobody) Message-Id: <201401020244.s022i2Vw081755@oldred.freebsd.org> Date: Thu, 2 Jan 2014 02:44:02 GMT From: Stephen Hurd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185405: [Patch] sysutils/fonteditfs fix build when no GCC installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 02:50:00 -0000 >Number: 185405 >Category: ports >Synopsis: [Patch] sysutils/fonteditfs fix build when no GCC installed >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: Thu Jan 02 02:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Stephen Hurd >Release: 10.0-RC3 >Organization: >Environment: FreeBSD portable 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Mon Dec 23 23:27:58 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: sysutils/fonteditfs fails when no GCC is installed because "gcc" is hardcoded as the compiler. >How-To-Repeat: Build without gcc. >Fix: Patch attached. Use ${CC} Patch attached with submission follows: Index: patch-Makefile =================================================================== --- patch-Makefile (revision 338414) +++ patch-Makefile (working copy) @@ -1,6 +1,6 @@ ---- Makefile.orig 2003-09-20 12:17:34.000000000 -0300 -+++ Makefile 2009-08-29 14:56:21.000000000 -0300 -@@ -2,12 +2,7 @@ +--- Makefile.orig 2003-09-20 08:17:34.000000000 -0700 ++++ Makefile 2014-01-01 12:27:59.000000000 -0800 +@@ -2,14 +2,9 @@ # - TODO: MAKE NEATER ONE # This makefile should work under most POSIX OSes (at least FreeBSD) @@ -12,8 +12,11 @@ - +all: fnteditfs fnteditfs: fnteditfs.o font.o stack.o - gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses +- gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses ++ ${CC} -o fnteditfs fnteditfs.o font.o stack.o -lcurses strip fnteditfs + + fnteditfs.o: fnteditfs.c font.h stack.h @@ -17,8 +12,8 @@ stack.o: stack.c stack.h >Release-Note: >Audit-Trail: >Unformatted: