mirror of https://gitlab.com/basile.b/dexed.git
apply FreeBSD patch for DMD detection, close #211
This commit is contained in:
parent
c812efb99b
commit
3437675c7d
|
@ -683,6 +683,14 @@ begin
|
||||||
if '/usr/include/dmd/phobos'.dirExists then
|
if '/usr/include/dmd/phobos'.dirExists then
|
||||||
fPaths.DmdPhobosPath:='/usr/include/dmd/phobos';
|
fPaths.DmdPhobosPath:='/usr/include/dmd/phobos';
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
{$IFDEF BSD}
|
||||||
|
if '%%LOCALBASE%%/bin/dmd'.fileExists then
|
||||||
|
fPaths.DmdExeName:='%%LOCALBASE%%/bin/dmd';
|
||||||
|
if '%%LOCALBASE%%/include/dmd/druntime/import'.dirExists then
|
||||||
|
fPaths.DmdRuntimePath:='%%LOCALBASE%%/include/dmd/druntime/import';
|
||||||
|
if '%%LOCALBASE%%/include/dmd/phobos'.dirExists then
|
||||||
|
fPaths.DmdPhobosPath:='%%LOCALBASE%%/include/dmd/phobos';
|
||||||
|
{$ENDIF}
|
||||||
{$IFDEF DARWIN}
|
{$IFDEF DARWIN}
|
||||||
if '/usr/local/bin/dmd'.fileExists then
|
if '/usr/local/bin/dmd'.fileExists then
|
||||||
fPaths.DmdExeName:='/usr/local/bin/dmd';
|
fPaths.DmdExeName:='/usr/local/bin/dmd';
|
||||||
|
|
Loading…
Reference in New Issue