ports/55708: [patch] Make net/wais respect CC and CFLAGS
Simon Barner
barner at in.tum.de
Mon Aug 18 20:40:14 UTC 2003
>Number: 55708
>Category: ports
>Synopsis: [patch] Make net/wais respect CC and CFLAGS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 18 13:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Simon Barner
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Aug 7 04:04:01 CEST 2003 toor at zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386
>Description:
This port does respect neither CC nor CFLAGS. I came across this problem
while fixing the compile error for ports/www/gn (a PR for this issue
will be filed in a minute)
>How-To-Repeat:
>Fix:
New patch file patch-ac:
--- Makefile.freebsd.orig Mon Aug 18 22:03:40 2003
+++ Makefile.freebsd Mon Aug 18 22:03:58 2003
@@ -48,7 +48,7 @@
#
# Some default programs
# CC = cc
-CC = gcc
+#CC = gcc
AR = ar
RM = /bin/rm
MV = mv
@@ -149,7 +149,7 @@
# -DSOLARIS for SunOS 5.2 (Solaris 2.2) machines.
#
# Use this version of CFLAGS for BSDI
-CFLAGS = -I$(INCLUDE) -D__bsdi__ -DBSD43 -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB
+CFLAGS += -I$(INCLUDE) -D__bsdi__ -DBSD43 -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB
#
# Flag definitions
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list