mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
585 B
Plaintext
16 lines
585 B
Plaintext
$NetBSD: patch-ax,v 1.6 2015/04/24 03:01:36 rodent Exp $
|
|
|
|
chop "-RELEASE" or "-DEVELOPMENT" from release for DragonFly.
|
|
|
|
--- Lib/sysconfig.py.orig 2014-12-10 15:59:40.000000000 +0000
|
|
+++ Lib/sysconfig.py
|
|
@@ -607,6 +607,8 @@ def get_platform():
|
|
osname, release, machine = _osx_support.get_platform_osx(
|
|
get_config_vars(),
|
|
osname, release, machine)
|
|
+ elif osname[:9] == "dragonfly":
|
|
+ release = str.split(release, '-')[0]
|
|
|
|
return "%s-%s-%s" % (osname, release, machine)
|
|
|