mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
17 lines
612 B
Python
17 lines
612 B
Python
$NetBSD: patch-build_probe.py,v 1.1 2012/08/26 09:07:23 marino Exp $
|
|
|
|
DragonFly is a BSD whose platform name does not end in "BSD"
|
|
Just look for it specifically.
|
|
|
|
--- build/probe.py.orig 2012-08-12 12:29:37.000000000 +0000
|
|
+++ build/probe.py
|
|
@@ -396,7 +396,7 @@ def main(compileCommandStr, outDir, plat
|
|
break
|
|
else:
|
|
distroRoot = '/usr/local'
|
|
- elif platform.endswith('bsd'):
|
|
+ elif platform == 'dragonfly' or platform.endswith('bsd'):
|
|
distroRoot = environ.get('LOCALBASE', '/usr/local')
|
|
print 'Using libraries from ports directory %s.' % distroRoot
|
|
elif platform == 'pandora':
|