From nobody Sat Aug 05 19:34:57 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 4RJCTZ45Vqz4mSdp; Sat, 5 Aug 2023 19:34:58 +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 4RJCTY5CYlz3DfM; Sat, 5 Aug 2023 19:34:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691264097; 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=XL06iIgiTLBqYupUhujAbIjCf2vQTlbBDKZZm5ivIP4=; b=U2c7RY9kDKby+OraA+79iipQXkNxjin2nTdI8j/GuB+UIjPJ0m9pPoXUrs3kqUUo9AdC8W nw+joTJ/U8gYQciX7A4fjij8aG89Cj2/OJbcaMCe01bFfqPHC1Ow9bDYVFiljk/YKS0s2q fZj09bPnPkJuPW933b/Mi5Oq0ZdL031zSNBVTd1F+wZOAEwOzgmj6rjHwNMvPDkaaD00VK S7QhPwzM6R+0lH8jpu3ogwIuBkzPFmoij8Ft3Gq/6NW2dGsAt4cnkRYnnGFsytniRszePz GKdNVik2MxdzrueFMyuVVonY3jVxQLZ6+T4ZbRxEF3+r/JC7FNkuw1/hW16Czg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691264097; 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=XL06iIgiTLBqYupUhujAbIjCf2vQTlbBDKZZm5ivIP4=; b=bceFRX2FiLQTqQfUqkOXQngX+115sLc3NwR+7pYpiJcN5fneWR1DBS8bEWaVlay9N7fn+N /9Z0+5bkn3WJt3250s1XGjXQa9ftD3JCSySnSyr0cl06ljALVieMgQDnVO6ZNusqzhPLB0 j28xhY0eSFqvZEI4uLeL9XYSdbaC0pq4+jhAzyVz+H8J8PYtjWCNvMOOrE/iE4iVoJtGuD 4c/EE9HsDC3IX36AsI8D4xNlTufOY1mGxD6IYfAHJsj8E9VfPAgpAD39J5jAWT8DqBlUsv lM30Y4jQV5smI2x24vJ0YK1UzG9M0OyqYJ2+fCvRaV4No1lZPYN7mY+ahc2sUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691264097; a=rsa-sha256; cv=none; b=lLvPT14MQZP1yhSID4WHkzcgJgPxYVmLq3jLvzyEFkfLpBC32k7ndnkdZ7UWC0JRJqNqnO yVryrNUzDjVddPE6nodpgd5peNeD+2NqFXxAo8BEptUPp01xOagjIDCk5gmtqBQVAr7em6 IccEAYqAdIKbLwbayU4eLRy1IzznKNuVobaqz/jxslfSIQnxiCacp3o1dXpgMbJiB+QDOu IPojH2y2d5ugJZ5NW3NmqWy6//Zk27l9zOkZ/aT8c6OhctvSs8W53fD0d9fHcjzFai3qkT OQswbX1SYzJSM75490YNkgGcJWrmaHGaJ7wbVR+x4qOSWciDTVGspAwB4lJ+iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJCTY4KKszhKw; Sat, 5 Aug 2023 19:34:57 +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 375JYvHr043054; Sat, 5 Aug 2023 19:34:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375JYvvE043053; Sat, 5 Aug 2023 19:34:57 GMT (envelope-from git) Date: Sat, 5 Aug 2023 19:34:57 GMT Message-Id: <202308051934.375JYvvE043053@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: 15c5abdbf442 - main - emulators/vba: 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: 15c5abdbf4428d7144220a8f5d663cf9dc33d8ff Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=15c5abdbf4428d7144220a8f5d663cf9dc33d8ff commit 15c5abdbf4428d7144220a8f5d663cf9dc33d8ff Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 19:21:10 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 19:34:43 +0000 emulators/vba: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- emulators/vba/Makefile | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index 9ee1af5f39ef..730b401a362b 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -12,41 +12,39 @@ WWW= https://web.archive.org/web/20110718045837/http://vba.ngemu.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN_powerpc= Runaway cc1plus process +BROKEN_sparc64= Runaway cc1plus process + BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libpng.so:graphics/png -BROKEN_powerpc= Runaway cc1plus process -BROKEN_sparc64= Runaway cc1plus process +USES= gettext gmake localbase sdl +USE_CXXSTD= c++14 +USE_SDL= sdl -USES= gettext gmake sdl GNU_CONFIGURE= yes -USE_SDL= sdl -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lintl +LIBS+= -lintl -WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION} SUB_FILES= pkg-message -DATA_FILES= ${WRKSRC}/src/VisualBoyAdvance.cfg -PROG_FILES= ${WRKSRC}/src/sdl/VisualBoyAdvance +WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION} + PORTDOCS= AUTHORS NEWS README ChangeLog OPTIONS_DEFINE= DOCS GTK2 PROFILING OPTIONS_SUB= yes PROFILING_DESC= Enable profiling -GTK2_CONFIGURE_ON= --enable-gtk=2.4 GTK2_LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 GTK2_USES= pkgconfig +GTK2_CONFIGURE_ON= --enable-gtk=2.4 +GTK2_VARS= PROG_FILES+=${WRKSRC}/src/gtk/gvba \ + GTK2_DATA_FILES=${WRKSRC}/src/gtk/vba.glade PROFILING_CONFIGURE_ENABLE= profiling -.include - -.if ${PORT_OPTIONS:MGTK2} -PROG_FILES+= ${WRKSRC}/src/gtk/gvba -GTK2_DATA_FILES= ${WRKSRC}/src/gtk/vba.glade -.endif +DATA_FILES= ${WRKSRC}/src/VisualBoyAdvance.cfg +PROG_FILES= ${WRKSRC}/src/sdl/VisualBoyAdvance post-patch: @${REINPLACE_CMD} -e '/for(int i = 0; i < 16; i++/s| i|&_|g' \ @@ -57,12 +55,12 @@ do-install: ${SED} -e 's|filter=0|filter=1|' ${DATA_FILES} > ${DATA_FILES}-default ${INSTALL_DATA} ${DATA_FILES}-default ${STAGEDIR}${PREFIX}/bin -do-install-GTK2-on: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance - ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance - do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} +do-install-GTK2-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance + ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance + .include