git: ca3f9a8e0cde - main - sysutils/keyd: use -l for finding LDFLAGS candidates
Jan Beich
jbeich at FreeBSD.org
Tue Aug 24 01:01:20 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ca3f9a8e0cdec34ec9ec6e4f5106a5dc0adf2675
commit ca3f9a8e0cdec34ec9ec6e4f5106a5dc0adf2675
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-08-24 01:00:28 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-08-24 01:00:30 +0000
sysutils/keyd: use -l for finding LDFLAGS candidates
-o maybe used together with -c, in a separate step from linking.
---
sysutils/keyd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysutils/keyd/Makefile b/sysutils/keyd/Makefile
index 3d0ab363e8da..95dd80d58fde 100644
--- a/sysutils/keyd/Makefile
+++ b/sysutils/keyd/Makefile
@@ -27,7 +27,7 @@ post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
-e '/systemd/d' \
-e '/^CFLAGS/s/=/+=/' \
- -e '/-o/s/$$/ $$(LDFLAGS)/' \
+ -e '/-l/s/$$/ $$(LDFLAGS)/' \
-e 's/ -O3//' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
More information about the dev-commits-ports-all
mailing list