Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 03:28:30 -0700 (PDT)
From:      sobomax@altavista.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/13852: [PATCH] Global CC and CFLAGS settings ignored by the games/xtris port.
Message-ID:  <19990920102830.4DA2515095@hub.freebsd.org>

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

>Number:         13852
>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:30: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




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