From nobody Thu Jun 08 15:31:11 2023 X-Original-To: dev-commits-ports-main@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 4QcSq40fs3z4brjD; Thu, 8 Jun 2023 15:31:12 +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 4QcSq361crz4WVm; Thu, 8 Jun 2023 15:31:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238271; 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=61Ugi01R28Wo5vZmRlVVirU4LoG3pgJjejI9Ap0pjqc=; b=EfkRdSO8aBCj6u/+4mLm9ekD0F0aLMFNAgwfV0DMf/sqQEF1vZhNvprKQqoxTx5k450nnW aKbIZ031gpBqs4R5Ipn+YG5ogfuerEerjTDWhpDSYlsd8BoQZ3vimC1mUZmOmqz4Ap+tDq +m1cy2zsbLmuTPSdlINpuiwABI/Dftpu0I1ZSRlyjAZUC/1dPyWcWgxyJqDUJMg5G/9UBw NujyKO12xKsPBRGlgkiHaRCtzgpbxgVSEhpEUkjOd9UD7zFECDGyj0KBLEbKDEINawg66o diBA45Veh5nfP4kfPbpWx7Iof5cBH1Xn+4jESy005VtdoEbk7/dIjQdZCtLSww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238271; 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=61Ugi01R28Wo5vZmRlVVirU4LoG3pgJjejI9Ap0pjqc=; b=gfrB+MfWhnBx3MSTZHfLX63JtxqaLyh4QbKXRR8pKr1t/iFMupIo1iRP5ro6vSI6cHt9v1 gT9s270btdWTkRB9f0LdTRmLRRCM4ZwT8I5hyI+JP+MvC2rB23ReB5ACTBHmVgEiUuYcNr s5uN9UaisMwkoP3LRGuXWb57YB5TtQ4KeWPLuQheu/r0djkaDFme2D82QDd2JCaMApJygE 42VkPEUPe5L1wsD+IKG1xx2KzOVjk7X0eF06lILg9Ri+6DlJAqse337I9SNiZ0x5t8WR6Z fwYF3ztEC8WGTCYhPp41Yx0kMijA7LtJXACHTwD4EM6sdrkqQcLaLOw7p4AIWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686238271; a=rsa-sha256; cv=none; b=N88Wzduxzq1Vu4UwB8c0lh8CtF52kyxw7ezKhBWvhlSuHovyfMvyFCjNjfasKuAT6Ccs8z kpdWzjOznNYqBLza1cbGQfYP8XVTKHliV7Lja1ynPgm10/xedik9hKrzE22y4zXzqLaolx NyCX5JuqXv5vd4cYJjLfGpk0yekKX5n9ON0quBBXegpU+ugmtpeDOtmCnBsVMTR+cxVQN6 Io0au8D+pN8pJ9PWo/5dVKnoG9Zq1k7NQaCLs+t5hAjMCe6R8UN7TO3+51xMiTWKJZU8MU bzzRRbbp4b59CCd8PT257mD3rKwux0b5x5UlNxNslu8Arkh2gLymU5pXomcEiQ== 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 4QcSq3558vzyp5; Thu, 8 Jun 2023 15:31:11 +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 358FVBIR062610; Thu, 8 Jun 2023 15:31:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358FVBHw062609; Thu, 8 Jun 2023 15:31:11 GMT (envelope-from git) Date: Thu, 8 Jun 2023 15:31:11 GMT Message-Id: <202306081531.358FVBHw062609@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: d05a00a5b05d - main - comms/librs232: Fix build with llvm15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: d05a00a5b05d8c5e803f593330d8841198662a93 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d05a00a5b05d8c5e803f593330d8841198662a93 commit d05a00a5b05d8c5e803f593330d8841198662a93 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-08 14:26:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-08 15:30:55 +0000 comms/librs232: Fix build with llvm15 - Pet portclippy - Adopt port --- comms/librs232/Makefile | 20 +++++++++++++++----- comms/librs232/pkg-plist | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/comms/librs232/Makefile b/comms/librs232/Makefile index a8ab729e5f1c..de950269b672 100644 --- a/comms/librs232/Makefile +++ b/comms/librs232/Makefile @@ -4,28 +4,38 @@ CATEGORIES= comms DISTNAME= RS-232 MASTER_SITES= http://www.teuniz.net/RS-232/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Simple serial library WWW= https://www.teuniz.net/RS-232/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/gpl.txt +USES= uidfix +USE_LDCONFIG= yes + WRKSRC= ${WRKDIR}/${DISTNAME} +PORTEXAMPLES= demo_rx.c demo_tx.c + OPTIONS_DEFINE= DOCS EXAMPLES -USES= uidfix -USE_LDCONFIG= yes +.include -PORTEXAMPLES= demo_rx.c demo_tx.c +.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 ) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif post-extract: @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc.txt ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} diff --git a/comms/librs232/pkg-plist b/comms/librs232/pkg-plist index fe3c94808dc4..852cb0b9af0f 100644 --- a/comms/librs232/pkg-plist +++ b/comms/librs232/pkg-plist @@ -1,5 +1,5 @@ include/rs232.h -lib/librs232_p.a +%%PROFILE%%lib/librs232_p.a lib/librs232.a lib/librs232.so lib/librs232.so.1