sysutils/evhz: respect LDFLAGS

For those not passed via CFLAGS as well e.g., -static.

(cherry picked from commit 7c8ae4a390)
This commit is contained in:
Jan Beich 2022-10-12 16:57:46 +00:00
parent 37069b7a83
commit a809411980

View File

@ -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/