pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/pv



Module Name:    pkgsrc
Committed By:   dholland
Date:           Tue May  9 21:26:18 UTC 2023

Modified Files:
        pkgsrc/sysutils/pv: Makefile

Log Message:
PR 57074 Dennis Lindroos: fix build on aarch64 macos

Disable configure test for stat64 since apparently it produces the
wrong answer.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/sysutils/pv/Makefile

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

Modified files:

Index: pkgsrc/sysutils/pv/Makefile
diff -u pkgsrc/sysutils/pv/Makefile:1.28 pkgsrc/sysutils/pv/Makefile:1.29
--- pkgsrc/sysutils/pv/Makefile:1.28    Sun Oct 24 02:40:04 2021
+++ pkgsrc/sysutils/pv/Makefile Tue May  9 21:26:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2021/10/24 02:40:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2023/05/09 21:26:18 dholland Exp $
 #
 
 DISTNAME=              pv-1.6.20
@@ -20,9 +20,16 @@ REPLACE_LOCALEDIR_PATTERNS+= vars.mk
 DOCDIR=                        ${PREFIX}/share/doc/pv
 INSTALLATION_DIRS=     ${DOCDIR}
 
+.include "../../mk/bsd.prefs.mk"
+
 # configure test only checks for open64()
 CFLAGS.SunOS+=         -DENABLE_LARGEFILE=1
 
+# configure test produces uncompilable results
+.if ${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "aarch64"
+CONFIGURE_ENV+=                ac_cv_func_stat64=no
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
 



Home | Main Index | Thread Index | Old Index