opmsg: rebuild against OpenSSL

This commit is contained in:
John 2021-01-06 18:18:31 +01:00
parent 48ac23c75c
commit ab2f774e53

View file

@ -1,12 +1,12 @@
# Template file for 'opmsg'
pkgname=opmsg
version=1.78s
revision=3
revision=4
wrksrc="${pkgname}-rel-${version}"
build_wrksrc=src
build_style=gnu-makefile
make_use_env=yes
makedepends="libressl-devel"
makedepends="openssl-devel"
short_desc="Replacement for gpg which can encrypt/sign/verify your mails"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
@ -17,7 +17,6 @@ checksum=e5dd6aaafddceb1c9eda755acc6763f91a2d724bd6b58214d198c9e72c8043da
do_configure() {
vsed -e "s|^INC=.*|INC += -I${XBPS_CROSS_BASE}/usr/include|" \
-e "10iLIBS+=-L${XBPS_CROSS_BASE}/usr/lib" \
-e 's|^DEFS=$|DEFS += -DHAVE_LIBRESSL|' \
-e "s|^LDFLAGS=$|LDFLAGS+=-L${XBPS_CROSS_BASE}/usr/lib|" \
-e "s|^CXX=c++$|CXX=${CXX}|" \
-e 's|^LD=c++$|LD=$(CXX)|' \