pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kermit: Pass LDFLAGS as LNKFLAGS



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sat Sep 19 17:19:19 2026 -0400
Changeset:	5952cf4959253a74f8f7c855c8549814835ef01e

Modified Files:
	kermit/Makefile

Log Message:
kermit: Pass LDFLAGS as LNKFLAGS

because that's how kermit's makefile wants them.  Resolves failure to
include relro flags.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5952cf4959253a74f8f7c855c8549814835ef01e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 kermit/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/kermit/Makefile b/kermit/Makefile
index 0993dbc536..81e5d6df6a 100644
--- a/kermit/Makefile
+++ b/kermit/Makefile
@@ -9,6 +9,7 @@ VERSIONSEP=	-
 VERSIONRC=	beta12
 DISTNAME=	cku${VERSIONDIST}${VERSIONSEP}${VERSIONRC}
 PKGNAME=	kermit-${VERSION}${VERSIONRC}
+PKGREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	https://www.kermitproject.org/ftp/kermit/test/tar/
 
@@ -25,6 +26,8 @@ LICENSE=	modified-bsd
 WRKSRC=		${WRKDIR}
 BUILD_DEFS+=	KFLAGS LIBS
 MAKE_ENV+=	prefix=${PREFIX} KFLAGS=${KFLAGS:Q} LIBS=${LIBS:Q}
+# kermit expects linker flags in LNKFLAGS, oddly.
+MAKE_ENV+=	LNKFLAGS=${LDFLAGS:Q}
 MAKE_FILE=	makefile
 
 # \todo Enhance for non-standard mandir.


Home | Main Index | Thread Index | Old Index