Date: Wed, 25 Aug 1999 14:01:36 -0700 (PDT) From: sobomax@altavista.net To: freebsd-gnats-submit@freebsd.org Subject: ports/13380: [PATCH] New wmapm port ignores global CFLAGS and CC settings Message-ID: <19990825210136.3CF6A14CD0@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 13380 >Category: ports >Synopsis: [PATCH] New wmapm port ignores global CFLAGS and CC settings >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: Wed Aug 25 14:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: 4.0-CURRENT >Organization: Vega International Capital >Environment: Doesn't really matter... >Description: New wmapm port ignores global CFLAGS and CC settings in make.conf >How-To-Repeat: cd /usr/ports/sysutils/wmapm ; make all >Fix: diff -ruN wmapm.old/patches/patch-aa wmapm/patches/patch-aa --- wmapm.old/patches/patch-aa Wed Aug 25 04:37:58 1999 +++ wmapm/patches/patch-aa Wed Aug 25 23:56:31 1999 @@ -1,10 +1,28 @@ ---- Makefile.~1~ Tue Dec 15 23:58:08 1998 -+++ Makefile Fri Jul 2 23:01:51 1999 +--- Makefile.orig Tue Dec 15 16:58:08 1998 ++++ Makefile Wed Aug 25 23:55:58 1999 @@ -1,6 +1,6 @@ - CC = gcc - CFLAGS = -O2 -Wall +-CC = gcc +-CFLAGS = -O2 -Wall -INCDIR = -I/usr/X11R6/include/X11 ++CC? = gcc ++CFLAGS? = -O2 -Wall +INCDIR = -I/usr/X11R6/include DESTDIR= /usr/X11R6 LIBDIR = -L/usr/X11R6/lib LIBS = -lXpm -lX11 -lXext +@@ -8,13 +8,13 @@ + ../wmgeneral/wmgeneral.o + + .c.o: +- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) ++ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) + + all: wmapm.o wmapm + + wmapm.o: wmapm_master.xpm wmapm_mask.xbm wmapm.h + wmapm: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmapm $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) $(SYSTEM) -o wmapm $^ $(INCDIR) $(LIBDIR) $(LIBS) + + clean: + for i in $(OBJS) ; do \ >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?19990825210136.3CF6A14CD0>