From nobody Sun Jul 23 17:54:29 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 4R89sf0XKzz4ndLJ; Sun, 23 Jul 2023 17:54:30 +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 4R89sd6fyhz3DGD; Sun, 23 Jul 2023 17:54:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134870; 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=SwHrl7Cw5i6vqqJLJNmPFbmATh5CZfCPqC/AevSJ66g=; b=P4yeQUuFktHg+If7D0LPwBTRZLQRDTES2v5IxzSnYXhFx7fdUk445oJY3ZHKmtKcdWCuw6 33OfXTkX3nQ/AoRp7qAXAaHe/HI8i/bx8XPd0JF10XtQahE6f4UafeXmc0Wc2PwWIRV/N7 Z6+GZfNIz4y2UtgPrG5WzEFlIgcICLVd+/QukY4dUt7xcLP+eZ2g/opzNYeqBxhhVENxk6 f1tyNGtihO///zQ/FUArG9QWEahaBPX8I6AE97YIu+6oKrDTPiB/ahVzyWNfxIuAXCoryT CnQnhgsHPQo2osmqVCifzp5o+mP5Eb2W8Jm7Qt78f7Z265DNLT9okUuSwrxNpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134870; 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=SwHrl7Cw5i6vqqJLJNmPFbmATh5CZfCPqC/AevSJ66g=; b=Gvi4YVd2MFnhdIVgA8lS5T9gZ6Yj1Bcpv0rcfM1tvIz5OgosJYtMTe4hjCgfnIUAWeWHrP MkP/TVBhpMlOJA8/nu4FONpGVT9zU/0G7accExLwRKgcar4KlzYDdybm+b7ix/iSwvXe3Y qTueUufrL41Rc1pYHzzKJhkx2pKlnx1eOwHPKRh8oxOTiwBpNeXQtaoUCUJKwKTbVKtWX4 C4MRdI93Lm1/stwt/o+4OX2HIOXFeMjOahl1a5AdozQF5+RdvNOoNOZfiITXPtA2Y2aIix nseauPYFUySzuw00UaVoW/adWof/huLtcxwX/5y6ftOYLucIpN8qdKZyimTHJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690134870; a=rsa-sha256; cv=none; b=lEguVelE93/O564LlUNK8tkwKKSZXQN/j6fyRYoMhLtB/zcSbjuTVbhirHIjOFrpL4r9Di fALNePv44/kPcVeD9LoK+Q6+11Qz1FjIlSDy5STABIKM/TPm1y84F9lbQxP1CInY4c/DjA 5uasYTqSsmHLg4RUFFAHD+izay/Q3zpvltnhQLfKGQYpKh1Ku9cIlvY2CVgwsvdhm+A6J4 W5LJm/JlATkbyA1PjdXhZoCl7OY/8L5Qh/JDymVWRdaYoEi31LVRWt+dJj/ARQm4QHWRJy j60wSYBHhKM6S/U8uLSBjcDMZUUfv6zREOjm1kwM/plWMfmu2dyxq62Y5jWtjQ== 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 4R89sd5hs4zlmG; Sun, 23 Jul 2023 17:54:29 +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 36NHsT58007310; Sun, 23 Jul 2023 17:54:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NHsTkL007309; Sun, 23 Jul 2023 17:54:29 GMT (envelope-from git) Date: Sun, 23 Jul 2023 17:54:29 GMT Message-Id: <202307231754.36NHsTkL007309@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: 5999040fd6b4 - main - devel/love5: 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: 5999040fd6b4228391390d0e08e8a161950d24ad Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5999040fd6b4228391390d0e08e8a161950d24ad commit 5999040fd6b4228391390d0e08e8a161950d24ad Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 17:06:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 17:54:16 +0000 devel/love5: Fix build with llvm16 - Add LICENSE BSD3CLAUSE - Utiize USES=localbase - Pet port{clippy|fmt} Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/love5/Makefile | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/devel/love5/Makefile b/devel/love5/Makefile index f550a800ec61..301c34a48131 100644 --- a/devel/love5/Makefile +++ b/devel/love5/Makefile @@ -9,26 +9,33 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine WWW= https://www.love2d.org/ -LIB_DEPENDS= libIL.so:graphics/devil \ - libphysfs.so:devel/physfs \ - libfreetype.so:print/freetype2 +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/license.txt + BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libIL.so:graphics/devil \ + libphysfs.so:devel/physfs -USES= tar:bzip2 gmake gl dos2unix lua:51 sdl -USE_SDL= sdl mixer +USES= dos2unix gl gmake localbase:ldflags lua:51 sdl tar:bzip2 +DOS2UNIX_FILES= src/system/love_system.cpp +USE_CXXSTD= c++14 USE_GL= gl glu +USE_SDL= mixer sdl + GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ - -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` -CXXFLAGS+= -fsigned-char -LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} -CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ +CONFIGURE_ARGS= --bindir=${PREFIX}/bin \ + --libdir=${PREFIX}/lib \ --program-suffix=5 -DOS2UNIX_FILES= src/system/love_system.cpp -PLIST_FILES= bin/love5 +CPPFLAGS+= -I${LOCALBASE}/include/freetype2 \ + -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` +CXXFLAGS+= -fsigned-char +LDFLAGS+= -L${LUA_LIBDIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + +PLIST_FILES= bin/love5 PORTDOCS= * OPTIONS_DEFINE= DOCS