pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Alien-Build



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Dec 21 21:17:29 UTC 2024

Modified Files:
        pkgsrc/devel/p5-Alien-Build: Makefile distinfo
Added Files:
        pkgsrc/devel/p5-Alien-Build/patches: patch-lib_Alien_Base_PkgConfig.pm

Log Message:
p5-Alien-Build: another SunOS + pkgconf build support fix

Don't assume pkgconf won't work on Solaris derivates and disallow its
use. (This package being a tool that's used by other packages for
builds.) Addresses a failure of p5-Alien-LibGumbo to build on SunOS
only. There was more than one functional path that may or may not be
called by dependent packages here for pkgconf support.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/p5-Alien-Build/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/p5-Alien-Build/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/p5-Alien-Build/patches/patch-lib_Alien_Base_PkgConfig.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Alien-Build/Makefile
diff -u pkgsrc/devel/p5-Alien-Build/Makefile:1.41 pkgsrc/devel/p5-Alien-Build/Makefile:1.42
--- pkgsrc/devel/p5-Alien-Build/Makefile:1.41   Thu Dec 19 03:16:24 2024
+++ pkgsrc/devel/p5-Alien-Build/Makefile        Sat Dec 21 21:17:29 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.41 2024/12/19 03:16:24 gutteridge Exp $
+# $NetBSD: Makefile,v 1.42 2024/12/21 21:17:29 gutteridge Exp $
 
 DISTNAME=      Alien-Build-2.84
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PL/PLICEASE/}
 

Index: pkgsrc/devel/p5-Alien-Build/distinfo
diff -u pkgsrc/devel/p5-Alien-Build/distinfo:1.33 pkgsrc/devel/p5-Alien-Build/distinfo:1.34
--- pkgsrc/devel/p5-Alien-Build/distinfo:1.33   Thu Dec 19 03:16:24 2024
+++ pkgsrc/devel/p5-Alien-Build/distinfo        Sat Dec 21 21:17:29 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.33 2024/12/19 03:16:24 gutteridge Exp $
+$NetBSD: distinfo,v 1.34 2024/12/21 21:17:29 gutteridge Exp $
 
 BLAKE2s (Alien-Build-2.84.tar.gz) = 94dbd66df164bacd55752e8767facbb498b264940b7bc58df1ec548e91602b0a
 SHA512 (Alien-Build-2.84.tar.gz) = 48f67543e44651f73d4f7668ea4e34d2b522cf8ca6cf4eb0713f13809d5876ed1c1439340e3f0277cac989e17bc03fc0d7671bc26272a39e7fbeb7cef5862784
 Size (Alien-Build-2.84.tar.gz) = 548423 bytes
+SHA1 (patch-lib_Alien_Base_PkgConfig.pm) = 318b75cad3679a56616be6a43d30b9de644685b2
 SHA1 (patch-lib_Alien_Build_Plugin_PkgConfig_Negotiate.pm) = 8773e68e2633d26655f56ae96d6d83cba7de45f8

Added files:

Index: pkgsrc/devel/p5-Alien-Build/patches/patch-lib_Alien_Base_PkgConfig.pm
diff -u /dev/null pkgsrc/devel/p5-Alien-Build/patches/patch-lib_Alien_Base_PkgConfig.pm:1.1
--- /dev/null   Sat Dec 21 21:17:29 2024
+++ pkgsrc/devel/p5-Alien-Build/patches/patch-lib_Alien_Base_PkgConfig.pm       Sat Dec 21 21:17:29 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_Alien_Base_PkgConfig.pm,v 1.1 2024/12/21 21:17:29 gutteridge Exp $
+
+Don't assume pkgconfig won't work on 64-bit "Solaris" and prevent its use.
+
+--- lib/Alien/Base/PkgConfig.pm.orig   2024-10-29 00:51:50.000000000 +0000
++++ lib/Alien/Base/PkgConfig.pm
+@@ -129,7 +129,7 @@ sub pkg_config_command {
+       # be abstracted so that it can be shared here and
+       # in Build.PL
+ 
+-      if (`pkg-config --version` && $? == 0 && !($^O eq 'solaris' && $Config{ptrsize} == 8)) {
++      if (`pkg-config --version` && $? == 0) {
+         $pkg_config_command = 'pkg-config';
+       } else {
+         require PkgConfig;



Home | Main Index | Thread Index | Old Index