From nobody Sun Jul 23 17:54:26 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 4R89sZ4Rckz4ndCN; Sun, 23 Jul 2023 17:54:26 +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 4R89sZ3xPPz3CsP; Sun, 23 Jul 2023 17:54:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134866; 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=deyvKSPXsV0DPXj9kyylwOkYeJ8JWCnOlYfzYQcwZf8=; b=P4nkuKycNgXKAsrksBD769cuFq0XlMnEO5HK+iazrcCjMHuIStKnZhjmYBKEZR9v12CHab niKLO9zQx8UgCyUYaYO1bm4prWtKFzN/3aoTmboxPKmmmEeenZoPK89H1CMG1Op72pYcWz D/0Lh8EECS4JllPc1P6OOY16Ag6Pa7GqsQyruwlc8ALEz8/38JCeNzvPsKUCoYyfP4eJWc h8w1wbt4v0N8xIeeGaTkpE/wPmZMCZ2B+5wTiUPc3DKwwnhJ7dWZC84ETWkyJuOd+dpvou UdXzBkf+TGDZ7jfJqSTGUBTIkSaToJA1Fgy4Z0JGFs3J1kaa9J8kSvneKpO6wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134866; 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=deyvKSPXsV0DPXj9kyylwOkYeJ8JWCnOlYfzYQcwZf8=; b=cgBVjJMgscw4y3QU6Z4yIk7ZPeMj3zDEbz5shsuAkhjTVhb9L2G8NIDctVoo1IctJN8OCi c11LVxtAa60a6GsUTbBYkNK9IAz6u6gTm1JNWheH6Rr8C93WASlSw0LO0MR6FSQtQbOBr+ S1BsWzd1sm/iFBMwBtLO8P5ol/teNPbykZBeLLZ/p5V8Z4LT8JJdj/I9ijXwRaVi++33x5 hGRFAEz2amaZn7QkFpPTl5LR5iJVDLlAzXPQR5jhnc/egcZizyj5Nxqg2MMsC9E0ir9I2i iStW1QRx97Gb/jM3rI6FKnlWWN/DF5cTtOFTJYfZswue322E3rmbzUo+iYc7CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690134866; a=rsa-sha256; cv=none; b=tLuf3BBE6fqa86+Dsbx4pHD/lEX4XP972XApoCSUl4TjOpyKw6elCpO9BKV22aOurXM1dd K+iYFVV3BcsOBa+7F5u3gzkQrZkRGPkvDhS61RhglFfdBuVc9ca75pcqlo+7bclYqQgf33 A3lm8Lkri3m3RUx+HCJhVXIsPHjauP2fdR/naFuJe185I5IrXQ56a1rr9R8m4+8rTJzxEB zB4AvuBTeCQYH+x9vhpth4UjoerWs3KNYDmprTObAe/NoAYexGz1W34Flw5KrSZbV1htEM MYzqmo7RhgsVF4lLUAbhT7kPceNA7bwSjj1tZIuk1pt5m6+YNFX6oGGHcjxOBA== 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 4R89sZ320hzly7; Sun, 23 Jul 2023 17:54:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36NHsQfk007243; Sun, 23 Jul 2023 17:54:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NHsQtJ007242; Sun, 23 Jul 2023 17:54:26 GMT (envelope-from git) Date: Sun, 23 Jul 2023 17:54:26 GMT Message-Id: <202307231754.36NHsQtJ007242@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: c2e2d166b9bd - main - comms/aprsd: Fix build with llvm16 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: c2e2d166b9bdbdd8f5cec993e31c38681dd7d976 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2e2d166b9bdbdd8f5cec993e31c38681dd7d976 commit c2e2d166b9bdbdd8f5cec993e31c38681dd7d976 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 16:55:27 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 17:54:15 +0000 comms/aprsd: Fix build with llvm16 - Utilize OPTIONSNG - Pet portclippy Sponsored by: The FreeBSD Foundation --- comms/aprsd/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/comms/aprsd/Makefile b/comms/aprsd/Makefile index 04f55947edbc..61a67f4fb3f3 100644 --- a/comms/aprsd/Makefile +++ b/comms/aprsd/Makefile @@ -13,22 +13,22 @@ LICENSE= GPLv2 BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: httpserver.o:(.text+0x1074): undefined reference to `convertUpTime(int)' +USE_CXXSTD= c++14 +USE_RC_SUBR= aprsd + GNU_CONFIGURE= yes + SUB_FILES= pkg-message -USE_RC_SUBR= aprsd +SUB_LIST= APRSD_RC_USER=${APRSD_RC_USER} \ + APRSD_RC_GROUP=${APRSD_RC_GROUP} USERS= aprsd tnc GROUPS= aprsd dialer tnc APRSD_RC_USER= aprsd APRSD_RC_GROUP= aprsd -SUB_LIST= APRSD_RC_USER=${APRSD_RC_USER} \ - APRSD_RC_GROUP=${APRSD_RC_GROUP} - OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-patch: ${REINPLACE_CMD} -e 's|%%CONFPATH%%|${PREFIX}/etc/aprsd/|' \ -e 's|%%LOGPATH%%|/var/log/aprsd/|' \ @@ -45,11 +45,15 @@ post-install: .for f in INIT.TNC RESTORE.TNC aprsd.conf welcome.txt user.deny ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${PREFIX}/etc/aprsd/$f.samp .endfor + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in chkaprsd udp_example ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${EXAMPLESDIR} .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} -.include +.include