pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/bearssl Quell packaging warning by installing...
details: https://anonhg.NetBSD.org/pkgsrc/rev/84c854009c37
branches: trunk
changeset: 442658:84c854009c37
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Nov 27 19:52:11 2020 +0000
description:
Quell packaging warning by installing the shlib with ${INSTALL_LIB}.
diffstat:
security/bearssl/Makefile | 28 +++++++++++++++++-----------
security/bearssl/PLIST | 4 ++--
2 files changed, 19 insertions(+), 13 deletions(-)
diffs (62 lines):
diff -r 91827e878433 -r 84c854009c37 security/bearssl/Makefile
--- a/security/bearssl/Makefile Fri Nov 27 19:44:42 2020 +0000
+++ b/security/bearssl/Makefile Fri Nov 27 19:52:11 2020 +0000
@@ -1,18 +1,23 @@
-# $NetBSD: Makefile,v 1.8 2020/11/16 07:43:25 schmonz Exp $
+# $NetBSD: Makefile,v 1.9 2020/11/27 19:52:11 schmonz Exp $
-DISTNAME= bearssl-0.6
-PKGREVISION= 1
-CATEGORIES= security
-MASTER_SITES= ${HOMEPAGE}
+DISTNAME= bearssl-0.6
+PKGREVISION= 1
+CATEGORIES= security
+MASTER_SITES= ${HOMEPAGE}
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://bearssl.org/
-COMMENT= Implementation of the SSL/TLS protocol (RFC 5246)
-LICENSE= mit
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://bearssl.org/
+COMMENT= Implementation of the SSL/TLS protocol (RFC 5246)
+LICENSE= mit
INSTALLATION_DIRS= bin include lib
-LDFLAGS.SunOS+= -lsocket -lnsl
+LDFLAGS.SunOS+= -lsocket -lnsl
+
+OPSYSVARS+= SOEXT
+SOEXT.Darwin= dylib
+SOEXT.*= so
+PLIST_SUBST+= SOEXT=${SOEXT}
pre-build:
${MKDIR} ${WRKSRC}/build/obj
@@ -23,7 +28,8 @@
cd ${WRKSRC}/inc && \
${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include
cd ${WRKSRC}/build && \
- ${INSTALL_DATA} libbearssl.* ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} libbearssl.a ${DESTDIR}${PREFIX}/lib && \
+ ${INSTALL_LIB} libbearssl.${SOEXT} ${DESTDIR}${PREFIX}/lib
do-test:
cd ${WRKSRC} && \
diff -r 91827e878433 -r 84c854009c37 security/bearssl/PLIST
--- a/security/bearssl/PLIST Fri Nov 27 19:44:42 2020 +0000
+++ b/security/bearssl/PLIST Fri Nov 27 19:52:11 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/11/16 07:43:25 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/11/27 19:52:11 schmonz Exp $
bin/brssl
include/bearssl.h
include/bearssl_aead.h
@@ -14,4 +14,4 @@
include/bearssl_ssl.h
include/bearssl_x509.h
lib/libbearssl.a
-lib/libbearssl.so
+lib/libbearssl.${SOEXT}
Home |
Main Index |
Thread Index |
Old Index