From nobody Fri Jan 19 14:11:56 2024 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 4TGhPm69Cfz56ZV9; Fri, 19 Jan 2024 14:11:56 +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 4TGhPm581Lz4sPf; Fri, 19 Jan 2024 14:11:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705673516; 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=6+EKenuWpNWiytL4bmGo/uxp/8wuvmyKh4sLUm2RrBw=; b=Fh4jeXv+x5gHWPpGRSWph1seeurGm2wCpKjJTLGOfBRXYpPm60iYaRyK0jAJAhx5Ul7fOe lD+jIdoZSSdZiqSoKxAFVUgbKGuyi0DoFZ1/xHL55der3Ge02I71IXHCPqLuZi7fKWNc4l nRpFjtkeZiq4KW0RFRhh5fzqqbLUQHLVDsuP9yIHksDFYWSf47LtmNP5CpYDGm6CXWM9cS DoiOs9jzJtzaHM6LeL1u5fo0n8QENooUvh+4p5dDktuXPFbx1gtDGv+hLZJ1ZhOXvJ30es L7MgLVPHPKRJxBPNTTN9i+7rWdJ5AmMHKH/HurFLEFJhosADR2yPDHdBYIvFdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705673516; 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=6+EKenuWpNWiytL4bmGo/uxp/8wuvmyKh4sLUm2RrBw=; b=vEJi/OC87z/6n4pCCZ1EHsZp1vaAeQE2/oUu7IjFT61XCl3SPwjsJc1us5vFGc6O31TIrp zKO8tWi58FvcYWNZz0tpuGWLBiGlbb2bMRciYrsaxIaGBtAlUOtcnp+gh965kNNTriSLSy qXr+7RqSrmIUL1I3E//yJH9lnlRUMw+GJ63VyBfm63Ar6nHNcDQ9a8pNlI2EEsmRt6ycqQ NIsvDdsKyE4aG7GCra5TX0hWsjYS23kOT0Xa1g7WoBna4GzsROEYiLzkAtBfzzg3FzDMFH gqLgUVxL7fErD6Av8TRrmQEWaxY9X2wNd+x2p8xoEB28pMTKXcNL+HjtAzdcvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705673516; a=rsa-sha256; cv=none; b=KjQKRTjKdN0BbVkEId/soNLVl0Skv3OjZNuowQ4lW9ascNFATTqnEKN3+Uh89cd9Qhj8vz Czqi2PbQBcO18m990dMnANHQZqk4cRrrFQZHmFuY+VTsR9PYDxz/1RQwY+ftWOF4otfXOW ZRYErums8Opxgcp+ik82EaNFfrtE6foPSfRJQwLEDQOA8okk49nsE9aoFyMhGxw8wbTs/5 M6776wuwNP9uXuQzZsyX/Z2ws3poFg0Egycr2BSjBakZYY3oPUUqhbBl5M7UL9jGhUwZvN sIyQzmy4TrCo+Rc6jE/amfOk7lOOT5PPv3c0LfCaI8AZx9S3G97uT3G0Rm46Uw== 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 4TGhPm4Cy9ztTj; Fri, 19 Jan 2024 14:11:56 +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 40JEBu2X087204; Fri, 19 Jan 2024 14:11:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40JEBu5w087201; Fri, 19 Jan 2024 14:11:56 GMT (envelope-from git) Date: Fri, 19 Jan 2024 14:11:56 GMT Message-Id: <202401191411.40JEBu5w087201@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 1dc0204a6f14 - main - graphics/p5-Image-Imlib2: Fix build with graphics/imlib2 1.12.1 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1dc0204a6f14541b977f9c8a30458c466c6db7ac Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=1dc0204a6f14541b977f9c8a30458c466c6db7ac commit 1dc0204a6f14541b977f9c8a30458c466c6db7ac Author: Nuno Teixeira AuthorDate: 2024-01-19 14:10:35 +0000 Commit: Nuno Teixeira CommitDate: 2024-01-19 14:10:35 +0000 graphics/p5-Image-Imlib2: Fix build with graphics/imlib2 1.12.1 Add minimal support to `pkg-config imlib2`; imlib2-config has been dropped since imlib2-1.7.5. PR: 276439 Approved by: portmgr (buildfix blanket) --- graphics/p5-Image-Imlib2/Makefile | 2 +- graphics/p5-Image-Imlib2/files/patch-Build.PL | 34 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/graphics/p5-Image-Imlib2/Makefile b/graphics/p5-Image-Imlib2/Makefile index 71c58a340ed8..e07fd1ef8e4c 100644 --- a/graphics/p5-Image-Imlib2/Makefile +++ b/graphics/p5-Image-Imlib2/Makefile @@ -1,6 +1,6 @@ PORTNAME= Image-Imlib2 PORTVERSION= 2.03 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/graphics/p5-Image-Imlib2/files/patch-Build.PL b/graphics/p5-Image-Imlib2/files/patch-Build.PL new file mode 100644 index 000000000000..da69af69896f --- /dev/null +++ b/graphics/p5-Image-Imlib2/files/patch-Build.PL @@ -0,0 +1,34 @@ +Add minimal support to `pkg-config imlib2`; imlib2-config has been +dropped since imlib2-1.7.5. + +--- Build.PL.orig 2009-11-24 21:41:36 UTC ++++ Build.PL +@@ -1,26 +1,8 @@ use strict; + use Module::Build; + use strict; + +-# We need to find imlib2-config +-my $CONFIG = "imlib2-config"; +- +-my $version = `$CONFIG --version`; +-if (!$version) { +- warn 'You must install the imlib2 library before you can install +-Image::Imlib2. You can obtain imlib2 from +-http://sourceforge.net/projects/enlightenment/ +- +-Alternatively, if you have downloaded and installed imlib2 and this +-still will not work, modify the $CONFIG variable inside Build.PL to +-point to the imlib2-config program that provides. +-'; +- exit 0; +-} else { +- print "Found imlib2 $version"; +-} +- +-my $libs = `$CONFIG --libs`; +-my $cflags = "-DX_DISPLAY_MISSING " . `$CONFIG --cflags`; ++my $libs = `pkg-config --libs imlib2`; ++my $cflags = "-DX_DISPLAY_MISSING " . `pkg-config --cflags imlib2`; + + my $build = Module::Build->new( + c_source => './lib/Image',