mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
14 lines
543 B
Plaintext
14 lines
543 B
Plaintext
$NetBSD: patch-ao,v 1.4 2013/04/12 09:03:41 adam Exp $
|
|
|
|
--- Lib/distutils/util.py.orig 2013-04-06 14:02:26.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)
|
|
|