pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/dar
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Jul 6 16:29:10 UTC 2019
Modified Files:
pkgsrc/archivers/dar: Makefile
Log Message:
Do not build static binaries on macOS.
Reported by Clement Bouvier in PR pkg/54352.
I did not try a build on Darwin as I no longer own a Mac.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/archivers/dar/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/dar/Makefile
diff -u pkgsrc/archivers/dar/Makefile:1.54 pkgsrc/archivers/dar/Makefile:1.55
--- pkgsrc/archivers/dar/Makefile:1.54 Wed Jul 4 13:40:07 2018
+++ pkgsrc/archivers/dar/Makefile Sat Jul 6 16:29:10 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2018/07/04 13:40:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.55 2019/07/06 16:29:10 bsiegert Exp $
DISTNAME= dar-2.4.13
PKGREVISION= 1
@@ -93,8 +93,9 @@ CPPFLAGS.SunOS+= -D__EXTENSIONS__
.include "../../mk/bsd.fast.prefs.mk"
-## Build a static binary with threads is currently broken with glibc.
-.if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mthreads)
+# Building a static binary with threads is currently broken with glibc.
+# Building a static binary is not supported on macOS.
+.if (${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mthreads)) || ${OPSYS} == "Darwin"
SUBST_CLASSES+= static
SUBST_STAGE.static= pre-configure
SUBST_MESSAGE.static= Changing -all-static to -static
Home |
Main Index |
Thread Index |
Old Index