git: a63135a7ae9a - main - net-mgmt/cdpd: Respect LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 May 2025 14:34:50 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a63135a7ae9aeb8be573838d8bfa8879a3587d3e
commit a63135a7ae9aeb8be573838d8bfa8879a3587d3e
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2025-05-05 14:32:03 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2025-05-05 14:34:43 +0000
net-mgmt/cdpd: Respect LDFLAGS
PR: 285384
Approved by: Dan Mahoney (maintainer)
Sponsored by: Netflix
---
net-mgmt/cdpd/files/patch-Makefile.in | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/net-mgmt/cdpd/files/patch-Makefile.in b/net-mgmt/cdpd/files/patch-Makefile.in
new file mode 100644
index 000000000000..0b26f2bf5c5f
--- /dev/null
+++ b/net-mgmt/cdpd/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2010-04-02 08:47:58.000000000 -0700
++++ Makefile.in 2025-03-13 13:51:50.304959000 -0700
+@@ -9,7 +9,7 @@
+ all: cdpd
+
+ cdpd: cdpd.o daemon.o strlcpy.o
+- $(CC) ${CFLAGS} cdpd.o daemon.o strlcpy.o -o cdpd ${LDADD}
++ $(CC) ${CFLAGS} ${LDFLAGS} cdpd.o daemon.o strlcpy.o -o cdpd ${LDADD}
+
+ .c.o:
+ $(CC) $(CFLAGS) -c $<