From nobody Mon Jul 24 12:52:50 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 4R8g765g32z4np0H; Mon, 24 Jul 2023 12:52:50 +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 4R8g764Clxz3p1l; Mon, 24 Jul 2023 12:52:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203170; 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=WqvzaDIyhQxdwKAwf+Tw8uutXHQinVdzRHn/6YjFPMI=; b=gKtUXguaBE+ALpIp3wHZBShVxa/UEDOSFtDIphmWy0zsBqkE8M4kLMhdExQ7TBQIEr8oYa 5QPXf9XlyHz1hgHyA8gAuFkAbZIKVi7KNgXylfI19YEnl2cwWWqkpctqKzEk9R6FtWz61I LwQMw+4VzMNC/JmxbNn2VOO0jvZ8FxWe3uummd/z47x9cd8KmYT0uMyecZfTxUuOp12qbF FCULsfg48jGcLLRsImjMf4/DK3iObQQ5XOLHZ5o9dgIGohrZpMSuhXjbZo29e+vQQku9IT MLWV+cYP40JynQtEuVWaRR8gBVcW3MU2vw+H4uISX4H3uYrpFFvnGMAWDc2VCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203170; 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=WqvzaDIyhQxdwKAwf+Tw8uutXHQinVdzRHn/6YjFPMI=; b=ru6iq7gEa1YzsXkIPIhpkA5P6j9M/+gt+YeNba8c5aHN4LnyOf+BmytejHcXN9c8kTXVhC vqHo4USbkWYMbx6LpsvI+DbBAuRU5WKlXptgyq25YaXNsm0QNpDPWrMHfW2zIyN76xHlgN bsR0eL9FcFpJv38GYIYkZV7TTLBQCnTfPwGqn3NlhgEwuBjH2xnTvPjQvRe+9QMpz2m7zY pLpwqL9j0SoWdiiwqLgwke4eB5qVj8ZgJGITcqsCJAn7TEkessKmoSVL/5sYdVKSozvpYo MzwVcHGG408BfP+BZDeAGLUbdeUIgRWQIVFPbuJvuIzp85mTbF+x2Jn1TopYQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690203170; a=rsa-sha256; cv=none; b=NUQqRUWFGl3/M2nEEZN4DwIXrqiI/Gs0ivkM7sEGa4GJqiD/52SEjbFCJV/oxtaidmvESg L4ieCu5mx7+yntox+gGXGs+GvQxFd3GHIVqPYNrT9rcWsmBR7jWmkgQUkr4fCu3YvDGbqj 1Fx8bKbMfjgdpx1r02EABuoFbWf8jNbFZ+yKkfKS6AZ9cm5iEFN03SfmQlkOgP4tgyRhNq ZsQFdiHn/fLF05El4gG1W4m+Hh3230L5i08D6BCDrbPXUvUGngCpBjU1OCLKUF7mzYfXaB /428dkaAWtEhd33Do+m/Ma4YbTj+/bakyPOW/rjRgAXeqYdCQixjp19sYS2Qlw== 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 4R8g763GnbzJc0; Mon, 24 Jul 2023 12:52:50 +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 36OCqo97096972; Mon, 24 Jul 2023 12:52:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36OCqome096971; Mon, 24 Jul 2023 12:52:50 GMT (envelope-from git) Date: Mon, 24 Jul 2023 12:52:50 GMT Message-Id: <202307241252.36OCqome096971@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: 0b6102ed18e8 - main - lang/elk: Fix build with llvm16 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: 0b6102ed18e864ce2a58f332dca096db34f82dce Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b6102ed18e864ce2a58f332dca096db34f82dce commit 0b6102ed18e864ce2a58f332dca096db34f82dce Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 11:53:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-24 12:52:37 +0000 lang/elk: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation --- lang/elk/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/lang/elk/Makefile b/lang/elk/Makefile index eb721da18839..4b71aa5cc48e 100644 --- a/lang/elk/Makefile +++ b/lang/elk/Makefile @@ -8,17 +8,22 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Embeddable Scheme interpreter WWW= http://sam.zoy.org/projects/elk/ + #libelf.so:devel/libelf LIB_DEPENDS= libgdbm.so:databases/gdbm \ - libelf.so:devel/libelf + libXaw.so:x11-toolkits/libXaw -USES= libtool motif tar:bzip2 -GNU_CONFIGURE= yes +USES= libtool localbase:ldflags motif tar:bzip2 xorg +USE_CXXSTD= c++14 USE_LDCONFIG= yes +USE_XORG= ice sm x11 xext xmu xt + +GNU_CONFIGURE= yes + INSTALL_TARGET= install-strip + MAKE_JOBS_UNSAFE= yes -CPPFLAGS+= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include/libelf OPTIONS_DEFINE= EXAMPLES @@ -28,6 +33,10 @@ OPTIONS_DEFINE= EXAMPLES CFLAGS= -O0 .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc examples||g' ${WRKSRC}/Makefile.in