Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 16:42:08 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426386 - head/sysutils/cmdwatch/files
Message-ID:  <201611191642.uAJGg8T2054886@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Nov 19 16:42:08 2016
New Revision: 426386
URL: https://svnweb.freebsd.org/changeset/ports/426386

Log:
  sysutils/cmdwatch: honor CFLAGS
  
  Approved by:	general blanket (FLAGS must be honored)

Modified:
  head/sysutils/cmdwatch/files/patch-Makefile

Modified: head/sysutils/cmdwatch/files/patch-Makefile
==============================================================================
--- head/sysutils/cmdwatch/files/patch-Makefile	Sat Nov 19 16:36:54 2016	(r426385)
+++ head/sysutils/cmdwatch/files/patch-Makefile	Sat Nov 19 16:42:08 2016	(r426386)
@@ -5,11 +5,27 @@
  
  all : startup $(OBJS) 
 -	@$(CC) -o cmdwatch $(OBJS) -lcurses
-+	@$(CC) -o cmdwatch $(OBJS) $(LDFLAGS) -lncurses
++	@$(CC) $(CFLAGS) -o cmdwatch $(OBJS) $(LDFLAGS) -lncurses
  	@strip cmdwatch
  	@echo " done."
  
-@@ -26,9 +26,9 @@ clean :
+@@ -13,22 +13,22 @@ startup :
+ 	@echo -n "Making cmdwatch..."
+ 
+ getopt.o : getopt.c
+-	@$(CC) -c getopt.c
++	@$(CC) $(CFLAGS) -c getopt.c
+ 
+ getopt1.o : getopt1.c
+-	@$(CC) -c getopt1.c
++	@$(CC) $(CFLAGS) -c getopt1.c
+ 
+ cmdwatch.o : cmdwatch.c
+-	@$(CC) -c cmdwatch.c
++	@$(CC) $(CFLAGS) -c cmdwatch.c
+ 
+ clean :
+ 	@echo "Making clean..."
  	@rm -f *.o cmdwatch
  
  install : all



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