aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iraf/iraf.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/iraf/iraf.ini b/iraf/iraf.ini
index 1516e67..6504cf0 100644
--- a/iraf/iraf.ini
+++ b/iraf/iraf.ini
@@ -18,7 +18,6 @@ url:
[build]
number: 0
-noarch: True
detect_binary_files_with_prefix: False [osx]
binary_relocation: False [osx]
@@ -88,7 +87,9 @@ linux:
rm -rf x11iraf
export TERM=xterm
- export PATH=`purge_path /sw`
+ if [[ $$PLATFORM == "osx" ]]; then
+ test -d /sw && export PATH=`purge_path /sw`
+ fi
export iraf=$$PREFIX/iraf/
echo "Fixing c headers..."