git: a809411980b8 - 2022Q4 - sysutils/evhz: respect LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 17:20:44 UTC
The branch 2022Q4 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a809411980b8312b3432f026c38331697af8049d
commit a809411980b8312b3432f026c38331697af8049d
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-12 16:57:46 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-12 17:20:10 +0000
sysutils/evhz: respect LDFLAGS
For those not passed via CFLAGS as well e.g., -static.
(cherry picked from commit 7c8ae4a390b5d8e8dbcf1966bc3461872e5d1b5f)
---
sysutils/evhz/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysutils/evhz/Makefile b/sysutils/evhz/Makefile
index 9877ea786897..801ea9d2d25e 100644
--- a/sysutils/evhz/Makefile
+++ b/sysutils/evhz/Makefile
@@ -17,7 +17,7 @@ USES= localbase
PLIST_FILES= bin/${PORTNAME}
do-build:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/