From nobody Mon Jun 12 19:45:31 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 4Qg2Gg4twLz4ct1B; Mon, 12 Jun 2023 19:45: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 4Qg2Gg3v4Tz3xyB; Mon, 12 Jun 2023 19:45:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686599131; 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=SHFdX0nPVZqmGV/PiGquVQQQ7fXMI2VLtYdN9q7Iipk=; b=toiGuipFd9vbCoKHAKqmDA26xboYOTdWES9NYCPSkBIAHPPcK1ig91vY5sk+NVimtoxygK ho3Y2L6toP11sNybEugjOhqnUUHE8AKlvKTdyxCzwwUjiv0sofGfwzK8mVvn34nnJ4Gho6 V81er/BNQF7GotH2JaeEUJoAMQ3amYNvX1e7qDWRPGmvE1dBNayKR5cTv4Qyw3dwkWEg3P RO4s3YwPQEuQFWgUmZs8qsSRNxyY5+htwxcW5X+GnUe9wf2k/6wDXTTaEr61KD+9n44Uym re7+gCwW7uuuLtK/VqWpZEwKidbKQdpUAmyNFFJ56eiaKWRnsdA3zQ9Q0iOBqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686599131; 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=SHFdX0nPVZqmGV/PiGquVQQQ7fXMI2VLtYdN9q7Iipk=; b=ePIB8GOGWXRafvdSY5MGf3qF2qUt6MSYO0zB4zZeba0n048+ZvU2YhupzZ1tcB6SMx4tnb WGqppAU5B6ROMqe5cTHHg1kT+IfgjlHoZPRnuU3tr9rgJ0ggzpTQO3sV8QagyKaw49zjYE wSoaha3loasnAj/BwlwuXLUOCmH4QFkf6eJVa2P4fvDHwYWXpYkQf9rK1jKhhb6PwwgBmc zi0O1camhcTVcuF9a5FAQ/dk0/Yw0oF0DAo06CndLt0Kr/a+QgQtam5vio2wk/vyXwiqBK /E6euufiHiRp0wlIWaiT1cnuljpx0Z67Ur/G7SBvb3pjQijDKuvOojXEhJAznQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686599131; a=rsa-sha256; cv=none; b=sHqQgpzjn4mTOXL3it6+nwfexBCjAOpO8TR8kJZRgWPgGxHbYLP29harHAKsTixCQ5MdGP x3jQSngU/xBMrUEymata1o3KRdefTDqc9vrLut3yWOrpnuxk5gvafgKDDrbbwHZqtb5b2U GHr5P/PwAAi3NNzmMFfM+zlrE4BtBtcwt5PIvtuxJxPaDQaIxbf5kiAfAzfAtk3rtWiFGQ +i963HcuEu41xMmdiLysddVU0vFdQ+k3w+ckVYkyO8G7um2GXivFIlO2k6dOTsVf04ynBN r9jG+rMhUdYEXbYrxz2rYBwFl5Fex+f7qX4F3nJVWVHfyDCUcVLh40I7sdey7w== 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 4Qg2Gg2hbLzsL3; Mon, 12 Jun 2023 19:45:31 +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 35CJjVXW074164; Mon, 12 Jun 2023 19:45:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35CJjVKT074160; Mon, 12 Jun 2023 19:45:31 GMT (envelope-from git) Date: Mon, 12 Jun 2023 19:45:31 GMT Message-Id: <202306121945.35CJjVKT074160@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: 5ee8ba6e09ad - main - devel/libdistance: 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: 5ee8ba6e09ad8021afb563b6e4d0b731f9ee2c04 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ee8ba6e09ad8021afb563b6e4d0b731f9ee2c04 commit 5ee8ba6e09ad8021afb563b6e4d0b731f9ee2c04 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-12 15:47:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-12 19:45:15 +0000 devel/libdistance: Fix build with llvm15 Approved by: portmgr (blanket) --- devel/libdistance/Makefile | 14 +++++++++++--- devel/libdistance/pkg-plist | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/devel/libdistance/Makefile b/devel/libdistance/Makefile index 23a51d24cb71..e9fd246392d6 100644 --- a/devel/libdistance/Makefile +++ b/devel/libdistance/Makefile @@ -17,15 +17,23 @@ USE_LDCONFIG= yes MAKE_ARGS+= INCLUDEDIR=${PREFIX}/include LIBDIR=${PREFIX}/lib MAKE_ARGS+= MANDIR=${PREFIX}/man/man SWIG=swig +MAKE_JOBS_UNSAFE= yes + CFLAGS+= -fPIC -pre-build: - mkdir -p ${STAGEDIR}/usr/local/tests/${PORTNAME} +.include + +.if defined(NOPROFILE) || defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 ) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif post-patch: ${REINPLACE_CMD} 's|%%TCL_SHLIB_VER%%|${TCL_SHLIB_VER}|' \ ${WRKSRC}/swig/tcl/Makefile -MAKE_JOBS_UNSAFE= yes +pre-build: + ${MKDIR} ${STAGEDIR}${PREFIX}/tests/${PORTNAME} .include diff --git a/devel/libdistance/pkg-plist b/devel/libdistance/pkg-plist index 744590efbbbc..cc78d8e97114 100644 --- a/devel/libdistance/pkg-plist +++ b/devel/libdistance/pkg-plist @@ -2,10 +2,10 @@ include/distance.h lib/libdistance.a lib/libdistance.so lib/libdistance.so.1 -lib/libdistance_p.a +%%PROFILE%%lib/libdistance_p.a lib/libdistance_wrap.a lib/libdistance_wrap.so lib/libdistance_wrap.so.1 -lib/libdistance_wrap_p.a +%%PROFILE%%lib/libdistance_wrap_p.a man/man3/distance.3.gz tests/libdistance/test