Date: Tue, 29 Dec 1998 16:04:48 +0200 From: Sheldon Hearn <axl@iafrica.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/9234: [PATCH] ports/audio/xmcd doesn't honour local CFLAGS Message-ID: <9998.914940288@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9998.914940288>