View | Details | Raw Unified | Return to bug 216789 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/mcelog/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	mcelog
4
PORTNAME=	mcelog
5
PORTVERSION=	147
5
PORTVERSION=	148
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
8
(-)sysutils/mcelog/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1484491926
1
TIMESTAMP = 1486231306
2
SHA256 (andikleen-mcelog-v147_GH0.tar.gz) = f18c5c12a8c8addf56f66f0046a8f0c7ba262f48f95bf57abed8430df0eeebe6
2
SHA256 (andikleen-mcelog-v148_GH0.tar.gz) = 3de7312ee13b0968ae8e1aa0a77acaaee89a0ed7de45f7ce557939723df3dc04
3
SIZE (andikleen-mcelog-v147_GH0.tar.gz) = 296947
3
SIZE (andikleen-mcelog-v148_GH0.tar.gz) = 296927
(-)sysutils/mcelog/files/patch-Makefile (-10 / +1 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	2016-10-18 22:32:19 UTC
1
--- Makefile.orig	2017-02-04 00:51:04 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -1,5 +1,4 @@
3
@@ -1,5 +1,4 @@
4
-CFLAGS := -g -Os
4
-CFLAGS := -g -Os
Lines 41-55 Link Here
41
 
41
 
42
 # dbquery intentionally not installed by default
42
 # dbquery intentionally not installed by default
43
 install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
43
 install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
44
@@ -82,7 +88,7 @@ depend: .depend
45
 
46
 version.tmp: FORCE
47
 	( echo -n "char version[] = \"" ; 	\
48
-	if type -p git >/dev/null; then 	\
49
+	if command -v git >/dev/null; then 	\
50
 	if [ -d .git ] ; then 			\
51
 		git describe --tags HEAD | tr -d '\n'; 	\
52
 	else 					\
53
@@ -98,8 +104,6 @@ version.c: version.tmp
44
@@ -98,8 +104,6 @@ version.c: version.tmp
54
 .depend: ${SRC}
45
 .depend: ${SRC}
55
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
46
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend

Return to bug 216789