CVS commit: pkgsrc/devel/p5-Data-UUID

"David Sainty" <[email protected]> Sat, 8 Aug 2026 03:27:30 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	dsainty
Date:		Sat Aug  8 03:27:30 UTC 2026

Modified Files:
	pkgsrc/devel/p5-Data-UUID: Makefile

Log Message:
Fix the build under Darwin by not defining -D_POSIX_C_SOURCE

Whatever this Darwin-specific tweak was trying to fix in 2016, the
reverse now seems to be the case - this package will not build on
Darwin with this #define defined, because it confuses malloc.h.

Today, a decade later, it builds fine without this tweak.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/devel/p5-Data-UUID/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 721 B)
Modified files:

Index: pkgsrc/devel/p5-Data-UUID/Makefile
diff -u pkgsrc/devel/p5-Data-UUID/Makefile:1.52 pkgsrc/devel/p5-Data-UUID/Makefile:1.53
--- pkgsrc/devel/p5-Data-UUID/Makefile:1.52	Thu Jul 16 19:02:14 2026
+++ pkgsrc/devel/p5-Data-UUID/Makefile	Sat Aug  8 03:27:30 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2026/07/16 19:02:14 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2026/08/08 03:27:30 dsainty Exp $
 
 DISTNAME=	Data-UUID-1.227
 PKGNAME=	p5-${DISTNAME}
@@ -16,8 +16,5 @@ LICENSE=	modified-bsd
 USE_LANGUAGES=		c
 PERL5_PACKLIST=		auto/Data/UUID/.packlist
 
-OPSYSVARS+=		MAKE_PARAMS
-MAKE_PARAMS.Darwin+=	DEFINE=-D_POSIX_C_SOURCE
-
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"