Date: Thu, 23 Mar 2000 01:12:53 -0500 (EST) From: root@kot.ne.mediaone.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/17564: x11-servers/Xfstt port ignores CXX and CXXFLAGS settings Message-ID: <200003230612.BAA01515@rtfm.newton>
next in thread | raw e-mail | index | archive | help
>Number: 17564 >Category: ports >Synopsis: x11-servers/Xfstt port ignores CXX and CXXFLAGS settings >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 22 22:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: >Description: It always uses the `-g' and the `c++'... >How-To-Repeat: >Fix: --- patch-aa Thu Dec 24 01:36:08 1998 +++ patches/patch-aa Thu Mar 23 01:08:29 2000 @@ -1,4 +1,4 @@ ---- Makefile.orig Sun Oct 25 11:21:12 1998 -+++ Makefile Wed Dec 23 19:32:02 1998 -@@ -2,13 +2,13 @@ +--- Makefile Mon May 31 02:28:44 1999 ++++ Makefile Thu Mar 23 01:02:25 2000 +@@ -2,16 +2,19 @@ MISCOPT = @@ -9,3 +9,7 @@ #CFLAGS = -fprofile-arcs -ftest-coverage -DMAGNIFY=0 - CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0 +-CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0 ++.if !defined(CXXFLAGS) ++CXXFLAGS:=${CFLAGS} ++.endif ++CFLAGS := ${CXXFLAGS} -Wall -pedantic $(MISCOPT) -DMAGNIFY=0 #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT) @@ -15,7 +19,12 @@ +#LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11 -+LFLAGS = -g -L$(X11BASE)/lib ++LFLAGS = -L$(X11BASE)/lib - CC = c++ - LD = c++ -@@ -55,8 +55,8 @@ +-CC = c++ +-LD = c++ ++CC := ${CXX} ++LD := ${CXX} + + OBJS = RAFile.o \ + TTFont.o \ +@@ -56,8 +56,8 @@ $(LD) -o $@ $(OBJS) xfstt.o encoding.o $(LFLAGS) -lm >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?200003230612.BAA01515>