From owner-svn-ports-all@FreeBSD.ORG Sat Dec 29 00:55:03 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2CFBA1A; Sat, 29 Dec 2012 00:55:03 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7ECE88FC15; Sat, 29 Dec 2012 00:55:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBT0t3q0038914; Sat, 29 Dec 2012 00:55:03 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBT0t3OT038910; Sat, 29 Dec 2012 00:55:03 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201212290055.qBT0t3OT038910@svn.freebsd.org> From: Jason Helfman Date: Sat, 29 Dec 2012 00:55:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309598 - in head/audio/pianobar: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 00:55:03 -0000 Author: jgh Date: Sat Dec 29 00:55:02 2012 New Revision: 309598 URL: http://svnweb.freebsd.org/changeset/ports/309598 Log: - restore CFLAGS/LDFLAGS to not be hardcoded Submitted by: maintainer, john@pcbsd.org Modified: head/audio/pianobar/Makefile head/audio/pianobar/files/patch-Makefile Modified: head/audio/pianobar/Makefile ============================================================================== --- head/audio/pianobar/Makefile Sat Dec 29 00:05:40 2012 (r309597) +++ head/audio/pianobar/Makefile Sat Dec 29 00:55:02 2012 (r309598) @@ -26,7 +26,7 @@ PLIST_FILES= bin/pianobar USE_BZIP2= yes USE_GMAKE= yes -CFLAGS= -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include -std=c99 +LDFLAGS+= -L${LOCALBASE}/lib .include Modified: head/audio/pianobar/files/patch-Makefile ============================================================================== --- head/audio/pianobar/files/patch-Makefile Sat Dec 29 00:05:40 2012 (r309597) +++ head/audio/pianobar/files/patch-Makefile Sat Dec 29 00:55:02 2012 (r309598) @@ -1,6 +1,6 @@ ---- Makefile.orig 2012-09-07 07:44:39.000000000 -0700 -+++ Makefile 2012-09-07 14:52:09.940335486 -0700 -@@ -4,7 +4,7 @@ +--- Makefile 2012-12-01 09:03:23.000000000 -0800 ++++ Makefile 2012-12-28 15:03:03.150101419 -0800 +@@ -4,16 +4,14 @@ BINDIR:=${PREFIX}/bin LIBDIR:=${PREFIX}/lib INCDIR:=${PREFIX}/include @@ -9,15 +9,17 @@ DYNLINK:=0 # Respect environment variables set by user; does not work with := -@@ -14,6 +14,7 @@ - ifeq (${CC},cc) - CC=c99 + ifeq (${CFLAGS},) + CFLAGS=-O2 -DNDEBUG endif +-ifeq (${CC},cc) +- CC=c99 +-endif +DEPCC=cc PIANOBAR_DIR=src PIANOBAR_SRC=\ -@@ -119,7 +120,7 @@ +@@ -119,7 +117,7 @@ # build dependency files %.d: %.c @set -e; rm -f $@; \