From owner-freebsd-ports Mon Sep 20 3:40: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1632414CAA for ; Mon, 20 Sep 1999 03:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA46227; Mon, 20 Sep 1999 03:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 94C3014C2E; Mon, 20 Sep 1999 03:31:04 -0700 (PDT) Message-Id: <19990920103104.94C3014C2E@hub.freebsd.org> Date: Mon, 20 Sep 1999 03:31:04 -0700 (PDT) From: sobomax@altavista.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/13853: [PATCH] Global CC and CFLAGS settings ignored by the games/xtris port. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13853 >Category: ports >Synopsis: [PATCH] Global CC and CFLAGS settings ignored by the games/xtris port. >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: Mon Sep 20 03:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: 4.0-CURRENT >Organization: Vega International Capital >Environment: FreeBSD notebook 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Thu Sep 2 18:13:40 EEST 1999 root@notebook:/usr/src/sys/compile/NOTEBOOK i386 >Description: CC and CFLAGS ignored in the games/xtris port. >How-To-Repeat: cd /usr/ports/games/xtris ; make all >Fix: diff -ruN /usr/ports/games/xtris/patches/patch-aa xtris/patches/patch-aa --- /usr/ports/games/xtris/patches/patch-aa Mon Nov 16 14:45:15 1998 +++ xtris/patches/patch-aa Sun Aug 29 20:28:14 1999 @@ -1,7 +1,11 @@ ---- Makefile.orig Wed Apr 9 20:02:03 1997 -+++ Makefile Wed Sep 24 13:28:50 1997 -@@ -11,19 +11,19 @@ - CC = gcc +--- Makefile.orig Sun Dec 14 20:43:35 1997 ++++ Makefile Sun Aug 29 20:28:11 1999 +@@ -8,22 +8,22 @@ + ################### + + # change this to your favorite ANSI C compiler +-CC = gcc ++CC? = gcc # change this to the directory where you want the xtris binaries installed -BINDIR = /usr/local/bin @@ -13,7 +17,7 @@ # change according to taste and local custom... -CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ -+CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include ++CFLAGS += -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include # on Solaris and similar systems, you'll need to uncomment this: # EXTRALIBS = -lnsl -lsocket >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message