From owner-svn-ports-all@FreeBSD.ORG Wed Nov 5 23:47:05 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 836A01F1; Wed, 5 Nov 2014 23:47:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57748BAB; Wed, 5 Nov 2014 23:47:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA5Nl5RW067941; Wed, 5 Nov 2014 23:47:05 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA5Nl4NS067939; Wed, 5 Nov 2014 23:47:04 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201411052347.sA5Nl4NS067939@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 5 Nov 2014 23:47:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372212 - in head/sysutils/mcelog: . 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.18-1 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: Wed, 05 Nov 2014 23:47:05 -0000 Author: marino Date: Wed Nov 5 23:47:04 2014 New Revision: 372212 URL: https://svnweb.freebsd.org/changeset/ports/372212 QAT: https://qat.redports.org/buildarchive/r372212/ Log: sysutils/mcelog: Fix DF build by respecting CFLAGS and USE+=alias PR: 194825 Submitted by: ftigeot Approved by: maintainer (Jeremy Chadwick) Modified: head/sysutils/mcelog/Makefile head/sysutils/mcelog/files/patch-Makefile Modified: head/sysutils/mcelog/Makefile ============================================================================== --- head/sysutils/mcelog/Makefile Wed Nov 5 23:10:59 2014 (r372211) +++ head/sysutils/mcelog/Makefile Wed Nov 5 23:47:04 2014 (r372212) @@ -21,7 +21,7 @@ ONLY_FOR_ARCHS= amd64 i386 ia64 PATCH_STRIP= -p1 -USES= gmake +USES= alias gmake MAKE_ENV+= FREEBSD=1 LDFLAGS= -lkvm Modified: head/sysutils/mcelog/files/patch-Makefile ============================================================================== --- head/sysutils/mcelog/files/patch-Makefile Wed Nov 5 23:10:59 2014 (r372211) +++ head/sysutils/mcelog/files/patch-Makefile Wed Nov 5 23:47:04 2014 (r372212) @@ -1,13 +1,13 @@ ---- Makefile.orig 2010-01-20 18:36:52.000000000 -0800 -+++ Makefile 2012-09-22 01:50:21.019688386 -0700 -@@ -1,5 +1,5 @@ - CFLAGS := -g -Os +--- Makefile.orig 2010-01-21 02:36:52 UTC ++++ Makefile +@@ -1,5 +1,4 @@ +-CFLAGS := -g -Os -prefix := /usr +prefix := /usr/local etcprefix := # Define appropiately for your distribution # DOCDIR := /usr/share/doc/packages/mcelog -@@ -28,11 +28,18 @@ +@@ -28,11 +27,18 @@ all: mcelog .PHONY: install clean depend @@ -29,7 +29,7 @@ DISKDB_OBJ := diskdb.o dimm.o db.o CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ} DOC := mce.pdf -@@ -48,7 +55,7 @@ +@@ -48,7 +54,7 @@ endif SRC := $(OBJ:.o=.c) @@ -38,7 +38,7 @@ # dbquery intentionally not installed by default install: mcelog -@@ -82,8 +89,6 @@ +@@ -82,8 +88,6 @@ depend: .depend .depend: ${SRC} ${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend