mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
14 lines
545 B
Plaintext
14 lines
545 B
Plaintext
$NetBSD: patch-ao,v 1.6 2015/04/24 03:01:36 rodent Exp $
|
|
|
|
--- Lib/distutils/util.py.orig 2014-12-10 15:59:35.000000000 +0000
|
|
+++ Lib/distutils/util.py
|
|
@@ -101,6 +101,8 @@ def get_platform ():
|
|
osname, release, machine = _osx_support.get_platform_osx(
|
|
distutils.sysconfig.get_config_vars(),
|
|
osname, release, machine)
|
|
+ elif osname[:9] == "dragonfly":
|
|
+ release = str.split(release, "-")[0]
|
|
|
|
return "%s-%s-%s" % (osname, release, machine)
|
|
|