From nobody Thu Jul 20 10:22:57 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 4R680F5jkSz4nd2h; Thu, 20 Jul 2023 10:23:09 +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 4R680164Vyz4Nyn; Thu, 20 Jul 2023 10:22:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689848577; 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=1ovjs4rWXmP77IOyDQIClcuwsFlXFX1rHd2xPpTgqd8=; b=hpzm1WRCW/FZzJ+NHDTM22zMWiF+XR2U15lojEd9Y2H+rWy1TsQ2zxWh20cOO6UrVkEY/i e8byfPGj8jtd67DLv5HcemzXFXm5ABR4GH7QxvffiuHKjTVBZc/G+CYtSvrm6c43S0XAjy tzHDd+QU9TpjbYyjp4ycspjSYfy8xW7edbiM2bbB6PjkHGRDQNvYV5n6rL7ov+QJj5oH3c 8RI3z8ZU/AL4v8pfQ5t9Hk7Nf+0LdqBjmcsCwGqbTUZ4JH0MDs0gj7D148nMnHaQaX3/y2 JnPBsEf65olyfoQjv+70xfbvphHpnMXdMWp/y4K0R02ROB3O8OFm2yPQRgfGVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689848577; 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=1ovjs4rWXmP77IOyDQIClcuwsFlXFX1rHd2xPpTgqd8=; b=F4LblHIclyyHE2h5AnoA/v545hsEmUPVez+nxqTpQ86b/pXtlh6drQv5VMGwsl/ck3ylz3 SB1A79ZhF0emUH0wwC0Wpinin5gOZ0aCe7XMAcKNaXNLkYMJDVWB64GVsz9p6bgVDNFOf2 m0xgfS9pvPLpGynf5HwO5czzi4hFy2uZl8buJZ05W/6tXXjdFPb1d7b5Q73mSq+mOL3+Vl pdoRpBSV7Qe2eQKuRA6imouglEVicmGptoQ0PxxtcoDxHkfmxCBWZYq5pxqAjohDP1uNYJ mwE3O7zTvs3wP25m8gMWMz+l9dkuHdj3xg1Y/ghXR9sUtF7TcMl2llpRWvq/1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689848577; a=rsa-sha256; cv=none; b=j4kyafekqhF/mB57vvz6Y3RkvTrV1jr352zr2MwiCI+bIiA1Fo2/TCRMIok9DVClrNLiYy juZRq8SOtPhQDoJR38MBLU+EktotTN3nxmd/9ywiArlCmBZWFtR8IxtRrsbmcyy0r7BN9n 7tsDqTCMgOwVG8WNqgLYLtKAkJk4iq4Rj2MbeZ6Wa0Bm16H6EkbuHVsnD5aRkx+KNHZ0tI uy43hrDhkeEMN/a5d7E3fJOErNft5kPdsP0BZJCigzuuLs6QWvBlHmfBPR+CVd+Y10Romt wAeasporJHms0Tz3WNLvtrmdO/l+lg+tSrOaJcsH+4XOnelPNgHpcuR0LfGjZA== 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 4R68014KySzRd3; Thu, 20 Jul 2023 10:22: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 36KAMvIn007369; Thu, 20 Jul 2023 10:22:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KAMvbt007368; Thu, 20 Jul 2023 10:22:57 GMT (envelope-from git) Date: Thu, 20 Jul 2023 10:22:57 GMT Message-Id: <202307201022.36KAMvbt007368@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: 1a2d16db0e01 - main - editors/morla: 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: 1a2d16db0e015aee879bfb6596286f01dde9bcaa Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a2d16db0e015aee879bfb6596286f01dde9bcaa commit 1a2d16db0e015aee879bfb6596286f01dde9bcaa Author: Muhammad Moinur Rahman AuthorDate: 2023-07-20 10:20:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-20 10:22:39 +0000 editors/morla: Fix build with llvm16 - Add LICENSE GPLv2 - Fix missing DEPENDS - Utilize USES=localbase while I am here Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- editors/morla/Makefile | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/editors/morla/Makefile b/editors/morla/Makefile index d8e1d8db36e4..48c4123b59e2 100644 --- a/editors/morla/Makefile +++ b/editors/morla/Makefile @@ -1,6 +1,6 @@ PORTNAME= morla PORTVERSION= 0.16.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= editors textproc MASTER_SITES= http://www.morlardf.net/src/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/ @@ -9,23 +9,26 @@ MAINTAINER= nivit@FreeBSD.org COMMENT= RDF editor WWW= http://www.morlardf.net/ -LIB_DEPENDS= libnxml.so:textproc/libnxml \ - librdf.so:textproc/redland \ - libraptor2.so:textproc/raptor2 \ - libcurl.so:ftp/curl +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= dot:graphics/graphviz +LIB_DEPENDS= libcurl.so:ftp/curl \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libharfbuzz.so:print/harfbuzz \ + libnxml.so:textproc/libnxml \ + libraptor2.so:textproc/raptor2 \ + librasqal.so:textproc/rasqal \ + librdf.so:textproc/redland RUN_DEPENDS= dot:graphics/graphviz -OPTIONS_DEFINE= XULRUNNER -XULRUNNER_DESC= Xulrunner as JavaScript engine +USES= gettext gnome libtool localbase:ldflags pkgconfig +USE_GNOME= cairo gdkpixbuf2 gtk20 libxslt +USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-gconf=none --with-gtkhtml=none -USES= gettext gnome libtool pkgconfig -USE_GNOME= libxslt gtk20 -USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} DESKTOP_ENTRIES="morla" \ "Edit RDF documents" \ @@ -34,12 +37,18 @@ DESKTOP_ENTRIES="morla" \ "WebDevelopment;" \ true +OPTIONS_DEFINE= XULRUNNER + +XULRUNNER_DESC= Xulrunner as JavaScript engine + XULRUNNER_BROKEN= www/libxul is gone, consider using lang/spidermonkey* XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner XULRUNNER_CONFIGURE_OFF= --with-javascript=none -post-patch: - @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ - ${WRKSRC}/configure +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif .include