Date: Wed, 12 Oct 2022 17:17:58 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e8580a20ebc2 - main - sysutils/evhz: simplify build/install logic Message-ID: <202210121717.29CHHwFX045159@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8580a20ebc2b99c00c51b280b552c7ac2b799ec commit e8580a20ebc2b99c00c51b280b552c7ac2b799ec Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-10-12 16:53:01 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-10-12 17:16:04 +0000 sysutils/evhz: simplify build/install logic Enables some default hardening: -fPIE + -pie, -Wl,-zrelro. --- sysutils/evhz/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sysutils/evhz/Makefile b/sysutils/evhz/Makefile index 801ea9d2d25e..abb91cbf05af 100644 --- a/sysutils/evhz/Makefile +++ b/sysutils/evhz/Makefile @@ -1,6 +1,7 @@ PORTNAME= evhz DISTVERSION= g20210920 DISTVERSIONSUFFIX= -0-g35b7526 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://git.sr.ht/~iank/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -13,13 +14,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto -USES= localbase +USES= localbase uidfix +MAKEFILE= bsd.prog.mk +MAKE_ARGS= PROG="${PORTNAME}" MAN= BINDIR="${PREFIX}/bin" PLIST_FILES= bin/${PORTNAME} -do-build: - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210121717.29CHHwFX045159>