View | Details | Raw Unified | Return to bug 194825
Collapse All | Expand All

(-)mcelog/Makefile (-1 / +1 lines)
Lines 21-27 Link Here
21
21
22
PATCH_STRIP=	-p1
22
PATCH_STRIP=	-p1
23
23
24
USES=		gmake
24
USES=		alias gmake
25
25
26
MAKE_ENV+=	FREEBSD=1
26
MAKE_ENV+=	FREEBSD=1
27
LDFLAGS=	-lkvm
27
LDFLAGS=	-lkvm
(-)mcelog/files/patch-Makefile (-7 / +7 lines)
Lines 1-13 Link Here
1
--- Makefile.orig	2010-01-20 18:36:52.000000000 -0800
1
--- Makefile.orig	2010-01-21 02:36:52 UTC
2
+++ Makefile	2012-09-22 01:50:21.019688386 -0700
2
+++ Makefile
3
@@ -1,5 +1,5 @@
3
@@ -1,5 +1,4 @@
4
 CFLAGS := -g -Os
4
-CFLAGS := -g -Os
5
-prefix := /usr
5
-prefix := /usr
6
+prefix := /usr/local
6
+prefix := /usr/local
7
 etcprefix :=
7
 etcprefix :=
8
 # Define appropiately for your distribution
8
 # Define appropiately for your distribution
9
 # DOCDIR := /usr/share/doc/packages/mcelog
9
 # DOCDIR := /usr/share/doc/packages/mcelog
10
@@ -28,11 +28,18 @@
10
@@ -28,11 +27,18 @@ all: mcelog
11
 
11
 
12
 .PHONY: install clean depend
12
 .PHONY: install clean depend
13
 
13
 
Lines 29-35 Link Here
29
 DISKDB_OBJ := diskdb.o dimm.o db.o
29
 DISKDB_OBJ := diskdb.o dimm.o db.o
30
 CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ}
30
 CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ}
31
 DOC := mce.pdf
31
 DOC := mce.pdf
32
@@ -48,7 +55,7 @@
32
@@ -48,7 +54,7 @@ endif
33
 
33
 
34
 SRC := $(OBJ:.o=.c)
34
 SRC := $(OBJ:.o=.c)
35
 
35
 
Lines 38-44 Link Here
38
 
38
 
39
 # dbquery intentionally not installed by default
39
 # dbquery intentionally not installed by default
40
 install: mcelog
40
 install: mcelog
41
@@ -82,8 +89,6 @@
41
@@ -82,8 +88,6 @@ depend: .depend
42
 .depend: ${SRC}
42
 .depend: ${SRC}
43
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
43
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
44
 
44
 

Return to bug 194825