git: eb7afecc805b - main - security/libreswan: Cosmetic corrections in Makefile

Yuri Victorovich yuri at FreeBSD.org
Sat May 22 01:58:03 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb7afecc805bc110e4ee852e4307c38c5f5c45f1

commit eb7afecc805bc110e4ee852e4307c38c5f5c45f1
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-22 01:57:24 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-22 01:58:00 +0000

    security/libreswan: Cosmetic corrections in Makefile
---
 security/libreswan/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/libreswan/Makefile b/security/libreswan/Makefile
index 5acc76339fa0..0a01f537b014 100644
--- a/security/libreswan/Makefile
+++ b/security/libreswan/Makefile
@@ -23,10 +23,11 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 USES=		bison gmake pkgconfig python
 
 CFLAGS+=	-I${WRKSRC}/include/unbound
-LDFLAGS+=	-lcrypt
 
 MAKE_ARGS=	PKG_BASE=${LOCALBASE} \
-		NSS_CFLAGS="`pkg-config --cflags nss`" NSPR_LDFLAGS="`pkg-config --libs nss`" \
+		NSS_CFLAGS="`pkg-config --cflags nss`" NSS_LDFLAGS="`pkg-config --libs nss`" \
+		NSPR_LDFLAGS="`pkg-config --libs nspr`" \
+		CRYPT_LDFLAGS=-lcrypt \
 		USE_PTHREAD_SETSCHEDPRIO=false \
 		WERROR_CFLAGS=""  \
 		PYTHON_BINARY=${PYTHON_CMD}


More information about the dev-commits-ports-all mailing list