1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/sysutils/i7z/Makefile
Dmitry Marakasov 246d2efa62 - Add USE_GCC to fix build on FreeBSD 10+. Using clang doesn't work as the binary it produces also segfaults
- Add LICENSE_FILE

PR:		200049
Submitted by:	amdmi3
Approved by:	maintainer timeout (zont, 2 weeks)
2015-05-26 15:54:24 +00:00

33 lines
773 B
Makefile

# $FreeBSD$
PORTNAME= i7z
PORTVERSION= 0.27.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
MAINTAINER= zont@FreeBSD.org
COMMENT= Thermal and C-state reporting utility for Intel-Core-i CPUs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USE_GCC= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
ONLY_FOR_ARCHS= i386 amd64
# Disable scheduling flags as they cause segfaults since they are enabled at
# default FreeBSD optimization levels (-O2, -O3, -Os)
CFLAGS+= -fno-schedule-insns2 -fno-schedule-insns -fno-caller-saves
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.man \
${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>