svn commit: r372212 - in head/sysutils/mcelog: . files
John Marino
marino at FreeBSD.org
Wed Nov 5 23:47:05 UTC 2014
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
More information about the svn-ports-head
mailing list