pkgsrc-WIP-changes archive

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

signify: Use LIBS.SunOS instead of redefining LIBS



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Jul 5 23:53:33 2022 +0200
Changeset:	9726a6c64e06bf0c2acf0f7d91866bb85026c11e

Modified Files:
	signify/Makefile

Log Message:
signify: Use LIBS.SunOS instead of redefining LIBS

This is simpler and more robust instead of redefining LIBS.

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

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

diffstat:
 signify/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diffs:
diff --git a/signify/Makefile b/signify/Makefile
index ab5e006343..dc2849cf49 100644
--- a/signify/Makefile
+++ b/signify/Makefile
@@ -37,12 +37,10 @@ SUBST_STAGE.ints=	pre-configure
 SUBST_FILES.ints+=	${LIBSRCDIR}/*.c
 SUBST_FILES.ints+=	${LIBSRCDIR}/include/*.h
 SUBST_SED.ints=		-e 's|u_int|uint|g'
-
-# link against libresolv to fix referencing
-# errors to `__b64_ntop' | `__b64_pton'
-MAKEFLAGS+=	LIBS='-lresolv -lrt -lm'
 .endif
 
+LIBS.SunOS+=	-lresolv -lrt
+
 post-patch:
 .if ${OPSYS} == "NetBSD"
 # The sys/* overrides are not needed on NetSD


Home | Main Index | Thread Index | Old Index