1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/sysutils/mcelog/Makefile
John Marino 0e5aee2375 sysutils/mcelog: Fix DF build by respecting CFLAGS and USE+=alias
PR:		194825
Submitted by:	ftigeot
Approved by:	maintainer (Jeremy Chadwick)
2014-11-05 23:47:04 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Jeremy Chadwick <freebsd@jdc.parodius.com>
# $FreeBSD$
PORTNAME= mcelog
DISTVERSION= 1.0pre3
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/ \
http://147.52.159.12/mirrors/ftp.kernel.org/pub/linux/utils/cpu/mce/ \
http://ftp.sjtu.edu.cn/sites/ftp.kernel.org/pub/linux/utils/cpu/mce/ \
http://mirror.be.gbxs.net/pub/linux/utils/cpu/mce/ \
http://ftp.eu.openbsd.org/pub/linux/utils/cpu/mce/ \
http://korg.cs.utah.edu/pub/linux/utils/cpu/mce/ \
http://ftp.oregonstate.edu/pub/linux/utils/cpu/mce/
MAINTAINER= jdc@koitsu.org
COMMENT= Collects and decodes Machine Check Exception data
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 i386 ia64
PATCH_STRIP= -p1
USES= alias gmake
MAKE_ENV+= FREEBSD=1
LDFLAGS= -lkvm
PLIST_FILES= bin/mcelog man/man8/mcelog.8.gz
post-patch:
@${CP} ${FILESDIR}/memstream.c ${WRKSRC}/memstream.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mcelog ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mcelog.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>