pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Nov  5 18:18:46 UTC 2023

Modified Files:
        pkgsrc/lang/perl5: hacks.mk

Log Message:
perl5: Normalize the legacy darwin hack with other hacks in the package.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/perl5/hacks.mk

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

Modified files:

Index: pkgsrc/lang/perl5/hacks.mk
diff -u pkgsrc/lang/perl5/hacks.mk:1.29 pkgsrc/lang/perl5/hacks.mk:1.30
--- pkgsrc/lang/perl5/hacks.mk:1.29     Sun Nov  5 18:04:20 2023
+++ pkgsrc/lang/perl5/hacks.mk  Sun Nov  5 18:18:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.29 2023/11/05 18:04:20 nia Exp $
+# $NetBSD: hacks.mk,v 1.30 2023/11/05 18:18:46 nia Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
@@ -63,7 +63,8 @@ CFLAGS+=      -fno-reorder-blocks
 # of XCode (pkgsrc also contains this hack, in mk/). However,
 # very old versions of Darwin use GCC 4 which doesn't understand
 # this command line argument.
-.if ${OPSYS} == "Darwin" && empty(PKGSRC_COMPILER:M*clang*)
+.if ${OPSYS} == "Darwin" && ${CC_VERSION:Mgcc-*}
+PKG_HACKS+=    old-darwin-gcc
 BUILDLINK_TRANSFORM+=  rm:-Wno-error=implicit-function-declaration
 .endif
 



Home | Main Index | Thread Index | Old Index