aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2021-11-11 18:40:55 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-11-11 18:43:02 +0000
commita140a25c0e405ff0b111a2f5008c051a809662d9 (patch)
tree752240ba78915b304403773e4f0bc6d85b5f590e
parentc8170f41a8acd2a0ad2d5097697c4cef3860688a (diff)
security/libxcrypt: Converted errors for gnu statement expressions to warnings, do not build static library
-rw-r--r--security/libxcrypt/Makefile4
-rw-r--r--security/libxcrypt/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/security/libxcrypt/Makefile b/security/libxcrypt/Makefile
index 1f6185e61c01..411c684ff057 100644
--- a/security/libxcrypt/Makefile
+++ b/security/libxcrypt/Makefile
@@ -1,6 +1,7 @@
PORTNAME= libxcrypt
DISTVERSIONPREFIX= v
DISTVERSION= 4.4.26
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
@@ -17,4 +18,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+CFLAGS+= -Wno-gnu-statement-expression
+CONFIGURE_ARGS= --disable-static
+
.include <bsd.port.mk>
diff --git a/security/libxcrypt/pkg-plist b/security/libxcrypt/pkg-plist
index be5de7b3c85a..a3109f971d62 100644
--- a/security/libxcrypt/pkg-plist
+++ b/security/libxcrypt/pkg-plist
@@ -1,5 +1,4 @@
include/crypt.h
-lib/libcrypt.a
lib/libcrypt.so
lib/libcrypt.so.2
lib/libcrypt.so.2.0.0