Kaydet (Commit) 8cbdb7f0 authored tarafından Robert Nagy's avatar Robert Nagy

add OPENBSD specific stuff

üst b89fb4c1
...@@ -135,7 +135,8 @@ sub filter_symbols { ...@@ -135,7 +135,8 @@ sub filter_symbols {
$env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS')); $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
$env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX')); $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
$env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD')); $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
last if ($env_section && ((/^# SOLARIS #$/) || (/^# FREEBSD #$/) || (/^# LINUX #$/))); $env_section = '1' and next if ((/^# OPENBSD #$/) && ($ENV{OS} eq 'OPENBSD'));
last if ($env_section && ((/^# SOLARIS #$/) || (/^# FREEBSD #$/) || (/^# LINUX #$/) || (/^# OPENBSD #$/)));
next if (!$_ || /^#/); next if (!$_ || /^#/);
push(@filters, $_); push(@filters, $_);
}; };
......
...@@ -299,6 +299,11 @@ sub setglobalvariables ...@@ -299,6 +299,11 @@ sub setglobalvariables
} }
} }
if ( $installer::globals::compiler =~ /unxobsd/ )
{
$installer::globals::epmoutpath = "openbsd";
}
if ( $installer::globals::compiler =~ /unxfbsd/ ) if ( $installer::globals::compiler =~ /unxfbsd/ )
{ {
$installer::globals::isfreebsdbuild = 1; $installer::globals::isfreebsdbuild = 1;
......
...@@ -22,6 +22,7 @@ chop( $m_str, $s_str ); ...@@ -22,6 +22,7 @@ chop( $m_str, $s_str );
"Linux", "linux", "Linux", "linux",
"FreeBSD", "freebsd", "FreeBSD", "freebsd",
"NetBSD", "netbsd", "NetBSD", "netbsd",
"OpenBSD", "openbsd",
"OSF1", "decunix", "OSF1", "decunix",
"SCO_SV", "scoosr5", "SCO_SV", "scoosr5",
# "SCO_SV", "scouw21", # "SCO_SV", "scouw21",
...@@ -36,6 +37,7 @@ chop( $m_str, $s_str ); ...@@ -36,6 +37,7 @@ chop( $m_str, $s_str );
"Linux", "-DLINUX", "Linux", "-DLINUX",
"FreeBSD", "-DFREEBSD", "FreeBSD", "-DFREEBSD",
"NetBSD", "-DNETBSD", "NetBSD", "-DNETBSD",
"OpenBSD", "-DOPENBSD",
"OSF1", "-DSYSV -DDECUNIX", "OSF1", "-DSYSV -DDECUNIX",
"SCO_SV", "-DSYSV -DSCO -DSCO_OSR5", "SCO_SV", "-DSYSV -DSCO -DSCO_OSR5",
# "SCO_SV", "-DSYSV -DSCO -DSCO_UW21", # "SCO_SV", "-DSYSV -DSCO -DSCO_UW21",
...@@ -51,6 +53,7 @@ chop( $m_str, $s_str ); ...@@ -51,6 +53,7 @@ chop( $m_str, $s_str );
"Linux", "lng", "Linux", "lng",
"FreeBSD", "fbsd", "FreeBSD", "fbsd",
"NetBSD", "bsd", "NetBSD", "bsd",
"OpenBSD", "obsd",
"SCO_SV", "sco", "SCO_SV", "sco",
"Darwin", "macx", "Darwin", "macx",
"Mac OS", "macx", "Mac OS", "macx",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment