pkgsrc-WIP-changes archive

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

signify: fix linking libs on Solaris after last change



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Wed Jul 6 11:19:08 2022 +0200
Changeset:	f1ffb6ec5f8e2c90ebe2b68438cd7978448baf97

Modified Files:
	signify/Makefile

Log Message:
signify: fix linking libs on Solaris after last change

signify: fix linking libs on Solaris after last change.

Explicity set LIBS for all targets to match pkgsrc defaults.
Append any required additional library to the global definitiion and
then pass LIBS to the internal make.

This prevents gmake from resetting LIBS to the projects's defaultis.
Such behaviour became evident on Solaris, as singify was failing to
build on SunOS followinf the last change.

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

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

diffstat:
 signify/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/signify/Makefile b/signify/Makefile
index dc2849cf49..993bcdf54f 100644
--- a/signify/Makefile
+++ b/signify/Makefile
@@ -13,7 +13,9 @@ COMMENT=	Cryptographically sign and verify files, from OpenBSD
 LICENSE=	original-bsd AND modified-bsd AND isc AND public-domain
 
 USE_TOOLS+=	gmake
-MAKEFLAGS+=	ALL=src/usr.bin/signify/signify
+MAKE_FLAGS+=	ALL=src/usr.bin/signify/signify
+MAKE_FLAGS+=	LIBS=${LIBS:Q}
+LIBS+=		-lm
 
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 MAKE_DIRS+=		${PKG_SYSCONFDIR}/signify


Home | Main Index | Thread Index | Old Index