From nobody Sun Jun 11 19:16:30 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QfPgg2kmzz4cXTm; Sun, 11 Jun 2023 19:16:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QfPgg0jVnz4NFY; Sun, 11 Jun 2023 19:16:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686510991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gjjp/11yQEUefmzVODpm1alweVxD7ENZODpAqPPdUj8=; b=jnvCKvoKnbYkvbTXelv6I15AfPby8IHvq0t6kWhlwYbvvsMzepQckAgtm4fnwJySkCmpmc X4nrKVFi4O2w6g6PzeXjEwPlxwV8Ygh1PLRrS2dUbAhFkS2FgQujW+qVrXFIC1LaQ3xgRT RxDzBJLCQDMBQwY5bqTnOiiQfrYrMkv4L7MLQjF3ViCDcxsswhawWWWiCgpDhrC0oNC8y6 13d0XQe3iiMWkr4OlD012sntmgxgn3V5O93/Xp3RpbdeQu/tAynC7rlHQdGkYlyVEvMy31 3jnzCUUFNmSG4WN0dbbYfP+q8QJqRdEF+KVPY041Mw3IAJZcfFZLaxOgc2xg4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686510991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gjjp/11yQEUefmzVODpm1alweVxD7ENZODpAqPPdUj8=; b=i+ob4TZ0N46pW5DadLA7BsVtOF20FzpFVzGVv10YUalhKmog27BmA8Vc9OBMBKhbDXjIhz NlIQDbKB+bgOtlDMMVZD8HXHwSzFIioJYca//n3HrO0c4M6dKtzscvXx9KtCLaaz98a0h3 pPxjJ+LbhXGulzJafBGNdx+H2o8vK43m8vQETR1wewpk8E+UnYXSl22+1nVQeGRUiFMiF4 eNJVMFiEDcefBmnek1b9DhxzZWlfPEcQiNWf4jMA/WmZBbaY81dDGkqqcCLv5VfjC4CV8P nWVskzJj+yQhiXggtX0pfS/fmwp/FoQdBnKXKaEkJrYcvLRxoxFf1x4Lz/TdNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686510991; a=rsa-sha256; cv=none; b=aCZWEF6zK2ttgg9isbMcSxQhekDZtWTcHwRn0W/P28d7oyvfN6SV1m4lhnhqyiDiS/29zl 6NYB1tX77TH9xzSnmvI4X1uUZ6aQ/YGuZXug2rjG2NBquWa/lglJNDwEYSlW3Vdbu78hY/ jPzcm/iHV0FWuXhuf7/OSFSIr4EXwjnxOamaEASmYB7BbvrwXM9//whbBDVPJ2zMRCitQ3 0ekbWR4IWJrcNcvddFZGLdJ8lyfgV76TcEEKImNvVoo0HUyLKrUlmz9L1ZGuykpVuiYZ1R XJXmE70kBKaQSC2vGuT3Im8zhSLRB7h50wtZGMCr5K2ou3MxWz7Le3yq8435RA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QfPgf6vg4z19GM; Sun, 11 Jun 2023 19:16:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35BJGUbQ052454; Sun, 11 Jun 2023 19:16:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35BJGUuU052453; Sun, 11 Jun 2023 19:16:30 GMT (envelope-from git) Date: Sun, 11 Jun 2023 19:16:30 GMT Message-Id: <202306111916.35BJGUuU052453@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: d99c374ec84c - main - security/pidgin-encryption: Fix build with llvm15 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d99c374ec84c7f958014b5897459f3514997505a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d99c374ec84c7f958014b5897459f3514997505a commit d99c374ec84c7f958014b5897459f3514997505a Author: Muhammad Moinur Rahman AuthorDate: 2023-06-11 17:11:44 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-11 19:16:21 +0000 security/pidgin-encryption: Fix build with llvm15 - Pet portclippy - Refactor USES=localbase Approved by: portmgr (blanket) --- security/pidgin-encryption/Makefile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/security/pidgin-encryption/Makefile b/security/pidgin-encryption/Makefile index 07c9aa4bdeca..e4c884e338ea 100644 --- a/security/pidgin-encryption/Makefile +++ b/security/pidgin-encryption/Makefile @@ -11,9 +11,12 @@ COMMENT= Encryption Plugin for the Pidgin instant messenger client WWW= http://pidgin-encrypt.sf.net BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin -RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin LIB_DEPENDS= libpurple.so:net-im/libpurple \ libnss3.so:security/nss +RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin + +USES= gettext gmake gnome libtool localbase pkgconfig +USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ @@ -21,16 +24,20 @@ CONFIGURE_ARGS= --disable-static \ --with-nspr-libs=${LOCALBASE}/lib \ --with-nss-includes=${LOCALBASE}/include/nss \ --with-nss-libs=${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib + INSTALL_TARGET= install-strip -USES= gettext gmake gnome libtool pkgconfig -USE_GNOME= gtk20 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes -NLS_CONFIGURE_ENABLE= nls + NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif post-extract: @${REINPLACE_CMD} -e 's|glib/.*\.h"|glib.h"|g' ${WRKSRC}/rsa_nss.c