From nobody Mon Jul 24 12:52:49 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 4R8g756VNMz4np3r; Mon, 24 Jul 2023 12:52:49 +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 4R8g753bHjz3nlS; Mon, 24 Jul 2023 12:52:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203169; 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=7vddp6UgySy/X/hI5EsJ/iZdK0JiipSXJDW9l/rbG6A=; b=WNoYK/qv6c05BCuM7rsy6Umq2W5knXObAwBp4cXru/CdSHkPRltKPD+pL4/RzxkvjvAaiD 2gxUjd7hd0KPjRgwvjft/Nw8ppysovWcL/+QRkAZD7iXILTwnmTevjp0ZSb3g96cJEh+yI EEkfGhzl0wbhfrVXfVbsjgFFepSFwfeZKGalRgrKvCP1VixEv9D8LDnmrwbm1BWwZZHHGt cqebDYLldyT2p8GiUHVco0xg0JsWZJC6H2o3Qjv1Bmk6QI7Qcs5wKYQ7PaIjnRW63QTRIt dLbFdSN3XJVCho1wFHMfR77rZ8Ftet1yR23cx+N0fi6iEKluV9sSyzxwin8Bog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203169; 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=7vddp6UgySy/X/hI5EsJ/iZdK0JiipSXJDW9l/rbG6A=; b=gkcPTpR69cvuxT4bmBaTgnBoKIFy+IBfLUkTZOAIaZaizTX+Q2j6Qms3y9vbsO0YOx6R5m UIT530Jt9+jmdUAN8bLX5HaJL+s/xqQrOMMlWCLVJ9px2B6OPOqPsBZlRVGOWkoTT7RnUC PioGZAOaWWjgoyxIBqnGJCEphGkweBLWsn3eJTfRqVAJVZxI+H8u7nc+KxiWb3Nf7zZHSQ dHX3UNqX5qr5E+UaI/HaVAxcHe6nipFZ3bDAYb8O8GMhsGoy8uUKMjmrXXaKXEcyYwIu0w Xqlp6QET8rWiC9MeHc0JPqAZu59PDvVR6v45r7meajwyporPAe3Tf+DLHHGqqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690203169; a=rsa-sha256; cv=none; b=riTyoNH5rAh5xXiVrxL9md0LKBpFAzNd7I2ZtSgsTF+MaJo3E4wDDfqQUirEl19KF53YxJ PPtdJG/8XfoCIb0cdPw4XfTwUV3opwvgYAeZy5d9Cf1QF07Z6Or8qyQ8Ekihyz9EgKqoRI Bgr954SPGIMzyXZ0Sj0nAjCkcsfbQKDNjTqnD2mUH9q8YmOY5+cvhXZwbm8Bx3Cjvz7z0L UVHvRO5F2ifllLN+hEW84LfmN0QNf4E14EW5Osx7NsxhAEYXCUYTk5IKpTTWLqhOxwRD65 IkOIvWUcUyYk80sZK1YB8eZZyEDAenFAR2FHRYfRBYyXt/W1yvEJJR7XKTfE9w== 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 4R8g752bQdzJP0; Mon, 24 Jul 2023 12:52:49 +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 36OCqn1a096953; Mon, 24 Jul 2023 12:52:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36OCqnhB096952; Mon, 24 Jul 2023 12:52:49 GMT (envelope-from git) Date: Mon, 24 Jul 2023 12:52:49 GMT Message-Id: <202307241252.36OCqnhB096952@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: 7b5a22aab9be - main - java/sablevm-classpath: 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: 7b5a22aab9be731ac84e6ced719c2fd26b7ca52a Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b5a22aab9be731ac84e6ced719c2fd26b7ca52a commit 7b5a22aab9be731ac84e6ced719c2fd26b7ca52a Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 11:20:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-24 12:52:37 +0000 java/sablevm-classpath: Fix build with llvm16 - Utilize USES=localbase - COnvert to OPTIONSNG - Pet portclippy Sponsored by: The FreeBSD Foundation --- java/sablevm-classpath/Makefile | 50 +++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/java/sablevm-classpath/Makefile b/java/sablevm-classpath/Makefile index 82fb13e06476..b192a207cdfb 100644 --- a/java/sablevm-classpath/Makefile +++ b/java/sablevm-classpath/Makefile @@ -15,48 +15,40 @@ BROKEN_riscv64= Fails to configure: Endianess not declared BUILD_DEPENDS= jikes:java/jikes -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -USES= gmake libtool pkgconfig xorg +USES= gmake libtool localbase pkgconfig xorg USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_XORG= x11 ice xtst sm -PLIST_SUB+= PORTVERSION=${PORTVERSION} - +GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa --disable-dssi -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib + +INSTALL_TARGET= install-strip + +PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= CAIRO GTK2 ZIP OPTIONS_DEFAULT=GTK2 ZIP +OPTIONS_SUB= yes + CAIRO_DESC= Use Cairo based Graphics2D GTK2_DESC= Enable Gtk+ AWT peer ZIP_DESC= Compress class library -.include +CAIRO_IMPLIES= GTK2 +CAIRO_CONFIGURE_ON= --enable-gtk-cairo +GTK2_USES= gnome +GTK2_USE= GNOME=gtk20 +GTK2_CONFIGURE_OFF= --disable-gtk-peer +ZIP_BUILD_DEPENDS= zip:archivers/zip +ZIP_CONFIGURE_ON= --with-compressed-classes=zip +ZIP_CONFIGURE_OFF= --with-compressed-classes=no +ZIP_PLIST_SUB= WITHOUT_ZIP="@comment " WITH_ZIP="" +ZIP_PLIST_SUB_OFF= WITHOUT_ZIP="" WITH_ZIP="@comment " -.if ${PORT_OPTIONS:MGTK2} -USES+= gnome -USE_GNOME+= gtk20 -PLIST_SUB+= GTK2="" -.if ${PORT_OPTIONS:MCAIRO} -CONFIGURE_ARGS+= --enable-gtk-cairo -.endif -.else -CONFIGURE_ARGS+= --disable-gtk-peer -PLIST_SUB+= GTK2="@comment " -.if ${PORT_OPTIONS:MCAIRO} -IGNORE=you need to enable the Gtk+ AWT peer in order to use Cairo based Graphics2D. -.endif -.endif +.include -.if ${PORT_OPTIONS:MZIP} -CONFIGURE_ARGS+= --with-compressed-classes=zip -BUILD_DEPENDS+= zip:archivers/zip -PLIST_SUB+= WITHOUT_ZIP="@comment " WITH_ZIP="" -.else -CONFIGURE_ARGS+= --with-compressed-classes=no -PLIST_SUB+= WITHOUT_ZIP="" WITH_ZIP="@comment " +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: