From owner-freebsd-ports Tue Dec 29 06:10:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA03593 for freebsd-ports-outgoing; Tue, 29 Dec 1998 06:10:10 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA03585 for ; Tue, 29 Dec 1998 06:10:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA00999; Tue, 29 Dec 1998 06:10:00 -0800 (PST) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA03153 for ; Tue, 29 Dec 1998 06:05:18 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 0zuzlQ-0002bH-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 29 Dec 1998 16:04:48 +0200 Message-Id: <9998.914940288@axl.noc.iafrica.com> Date: Tue, 29 Dec 1998 16:04:48 +0200 From: Sheldon Hearn Reply-To: Sheldon Hearn To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9234: [PATCH] ports/audio/xmcd doesn't honour local CFLAGS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9234 >Category: ports >Synopsis: [PATCH] ports/audio/xmcd doesn't honour local CFLAGS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 29 06:10:00 PST 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD axl.noc.iafrica.com 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Wed Dec 16 00:33:32 SAST 1998 >Description: The xmcd port does not honour local CFLAGS settings, overriding them with its own. >How-To-Repeat: cd ${PORTSDIR}/audio/xmcd ; make >Fix: The following patch teaches the xmcd port to honour local CFLAGS and use resonable defaults if undefined. Index: audio/xmcd/patches/patch-ae =================================================================== RCS file: patch-ae diff -N patch-ae --- /dev/null Tue Dec 29 15:59:44 1998 +++ patch-ae Tue Dec 29 15:56:00 1998 @@ -0,0 +1,24 @@ +--- make.inc.orig Tue Dec 29 15:53:17 1998 ++++ make.inc Tue Dec 29 15:54:53 1998 +@@ -52,7 +52,8 @@ + RANLIB= /bin/true + AR= ar cq + RM= rm -f +-CFLAGS= -O $(DEFINES) $(INCDIRS) $(ARCH) $(TIMER) $(TERMIO) ++CFLAGS?= -O ++CFLAGS+= $(DEFINES) $(INCDIRS) $(ARCH) $(TIMER) $(TERMIO) + ARCH= -DSVR4 -Di386 + TIMER= -DUSE_SELECT + TERMIO= -DUSE_TERMIOS +--- makedgux.inc.orig Tue Dec 29 15:53:17 1998 ++++ makedgux.inc Tue Dec 29 15:55:11 1998 +@@ -52,7 +52,8 @@ + RANLIB= /bin/true + AR= ar cq + RM= rm -f +-CFLAGS= -O $(DEFINES) $(INCDIRS) $(ARCH) $(TIMER) $(TERMIO) ++CFLAGS?= -O ++CFLAGS+= $(DEFINES) $(INCDIRS) $(ARCH) $(TIMER) $(TERMIO) + # ARCH= + TIMER= -DUSE_SELECT + TERMIO= -DUSE_TERMIOS >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message