# New Ticket Created by Packy Anderson # Please include the string: [perl #56076] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56076 >
On my OSX PPC 10.4.11 platform I did a "make perl6" from languages/ perl6, and I got the following: cd src/pmc && perl /usr/local/source/parrot/tools/build/dynpmc.pl linklibs perl6str mutable perl6scalar mutablevar c++ -o perl6_group.bundle lib-perl6_group.o perl6str.o mutable.o perl6scalar.o mutablevar.o -lm -framework OpenGL -framework GLUT - lcrypto -L/usr/local/lib -L/usr/local/source/parrot/blib/lib -L/opt/ local/lib -L/usr/local/source/parrot/blib/lib -bundle -undefined dynamic_lookup -L/usr/local/source/parrot/blib/lib -lparrot /usr/bin/ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 collect2: ld returned 1 exit status partial link of perl6_group failed (256) make: *** [src/pmc/perl6_group.bundle] Error 2 *grumble* At this point, I could just export it in my .bashrc, or put it everywhere it ought to be. I'm submitting a patch, adding the "#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@" line (and an explanatory comment) in all the config/makefiles/root.in files for all the languages in languages/ AND updating tools/dev/mk_language_shell.pl so it will be in future language shells. I'm not sure if all languages will use gcc and g++, but I figured it's just an environment variable and it's better to define it when it's not needed than to not have it defined when it is. -packy
Index: tools/dev/mk_language_shell.pl =================================================================== --- tools/dev/mk_language_shell.pl (revision 28529) +++ tools/dev/mk_language_shell.pl (working copy) @@ -155,6 +155,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/m4/config/makefiles/root.in =================================================================== --- languages/m4/config/makefiles/root.in (revision 28529) +++ languages/m4/config/makefiles/root.in (working copy) @@ -9,6 +9,9 @@ TOUCH = $(PERL) -MExtUtils::Command -e touch BUILD_DIR = @build_dir@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ default: all all: build Index: languages/forth/config/makefiles/root.in =================================================================== --- languages/forth/config/makefiles/root.in (revision 28529) +++ languages/forth/config/makefiles/root.in (working copy) @@ -4,6 +4,9 @@ PERL = @perl@ RM_RF = @rm_rf@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ BUILD_DIR = @build_dir@ Index: languages/unlambda/config/makefiles/root.in =================================================================== --- languages/unlambda/config/makefiles/root.in (revision 28529) +++ languages/unlambda/config/makefiles/root.in (working copy) @@ -10,6 +10,9 @@ PERL = @perl@ RM_F = @rm_f@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # The default target default: build Index: languages/jako/config/makefiles/root.in =================================================================== --- languages/jako/config/makefiles/root.in (revision 28529) +++ languages/jako/config/makefiles/root.in (working copy) @@ -10,6 +10,9 @@ INTERP = ../../@test_prog@ BUILD_DIR = @build_dir@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ .SUFFIXES: .jako .pir Index: languages/bf/config/makefiles/root.in =================================================================== --- languages/bf/config/makefiles/root.in (revision 28529) +++ languages/bf/config/makefiles/root.in (working copy) @@ -1,6 +1,9 @@ RM_F = @rm_f@ PERL = @perl@ PARROT=../../parrot +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ default: build Index: languages/chitchat/config/makefiles/root.in =================================================================== --- languages/chitchat/config/makefiles/root.in (revision 28529) +++ languages/chitchat/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/perl6/config/makefiles/root.in =================================================================== --- languages/perl6/config/makefiles/root.in (revision 28529) +++ languages/perl6/config/makefiles/root.in (working copy) @@ -26,6 +26,9 @@ BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl PBC_TO_EXE = $(BUILD_DIR)/pbc_to_exe$(EXE) +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ all: perl6.pbc Index: languages/PIR/config/makefiles/root.in =================================================================== --- languages/PIR/config/makefiles/root.in (revision 28529) +++ languages/PIR/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/ecmascript/config/makefiles/root.in =================================================================== --- languages/ecmascript/config/makefiles/root.in (revision 28529) +++ languages/ecmascript/config/makefiles/root.in (working copy) @@ -18,6 +18,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/plumhead/config/makefiles/root.in =================================================================== --- languages/plumhead/config/makefiles/root.in (revision 28529) +++ languages/plumhead/config/makefiles/root.in (working copy) @@ -12,8 +12,10 @@ RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl NQP = $(BUILD_DIR)/compilers/nqp/nqp.pbc PCT = $(BUILD_DIR)/runtime/parrot/library/PCT.pbc +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ - # default all: build Index: languages/urm/config/makefiles/root.in =================================================================== --- languages/urm/config/makefiles/root.in (revision 28529) +++ languages/urm/config/makefiles/root.in (working copy) @@ -8,6 +8,9 @@ PARROT = ../../[EMAIL PROTECTED]@ BUILD_DIR = @build_dir@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ default: build Index: languages/Zcode/config/makefiles/root.in =================================================================== --- languages/Zcode/config/makefiles/root.in (revision 28529) +++ languages/Zcode/config/makefiles/root.in (working copy) @@ -6,6 +6,9 @@ PARROT = ../../[EMAIL PROTECTED]@ PERL = @perl@ RM_F = @rm_f@ +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ EXAMPLES = examples/small.z3 examples/hello.z3 Index: languages/hq9plus/config/makefiles/root.in =================================================================== --- languages/hq9plus/config/makefiles/root.in (revision 28529) +++ languages/hq9plus/config/makefiles/root.in (working copy) @@ -12,6 +12,9 @@ PARROT = ../../[EMAIL PROTECTED]@ CAT = $(PERL) -MExtUtils::Command -e cat RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PGE_LIBRARY = $(BUILD_DIR)/runtime/parrot/library/PGE Index: languages/lisp/config/makefiles/root.in =================================================================== --- languages/lisp/config/makefiles/root.in (revision 28529) +++ languages/lisp/config/makefiles/root.in (working copy) @@ -6,6 +6,9 @@ PARROT = ../../[EMAIL PROTECTED]@ BUILD_DIR = @build_dir@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ all: build Index: languages/regex/config/makefiles/root.in =================================================================== --- languages/regex/config/makefiles/root.in (revision 28529) +++ languages/regex/config/makefiles/root.in (working copy) @@ -12,6 +12,9 @@ BUILD_DYNPMC = $(PERL) @build_dir@/tools/build/dynpmc.pl PARROT_DYNEXT = @build_dir@/runtime/parrot/dynext RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up directories LOAD_EXT = @load_ext@ Index: languages/APL/config/makefiles/root.in =================================================================== --- languages/APL/config/makefiles/root.in (revision 28529) +++ languages/APL/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/cardinal/config/makefiles/root.in =================================================================== --- languages/cardinal/config/makefiles/root.in (revision 28529) +++ languages/cardinal/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/pugs/config/makefiles/root.in =================================================================== --- languages/pugs/config/makefiles/root.in (revision 28529) +++ languages/pugs/config/makefiles/root.in (working copy) @@ -2,6 +2,9 @@ PERL = @perl@ PARROT = ../../[EMAIL PROTECTED]@ PBC_MERGE = ../../[EMAIL PROTECTED]@ +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ LIBPATH = lib BUILD = $(PERL) @build_dir@/tools/build/dynpmc.pl Index: languages/punie/config/makefiles/root.in =================================================================== --- languages/punie/config/makefiles/root.in (revision 28529) +++ languages/punie/config/makefiles/root.in (working copy) @@ -10,6 +10,9 @@ PGE_DIR = ../../compilers/pge NQP_DIR = ../../compilers/nqp CP = @cp@ +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ PARROT_LIBRARY = ../../runtime/parrot/library PGE_LIBRARY = ../../runtime/parrot/library/PGE Index: languages/lolcode/config/makefiles/root.in =================================================================== --- languages/lolcode/config/makefiles/root.in (revision 28529) +++ languages/lolcode/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/lua/config/makefiles/root.in =================================================================== --- languages/lua/config/makefiles/root.in (revision 28529) +++ languages/lua/config/makefiles/root.in (working copy) @@ -16,6 +16,9 @@ PBC_TO_EXE = ../../[EMAIL PROTECTED]@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl PMCBUILD = $(PERL) @build_dir@/tools/build/dynpmc.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things LIBPATH = src/lib Index: languages/tcl/config/makefiles/root.in =================================================================== --- languages/tcl/config/makefiles/root.in (revision 28529) +++ languages/tcl/config/makefiles/root.in (working copy) @@ -5,6 +5,9 @@ BUILD_DIR = @build_dir@ RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl PBC_TO_EXE = $(BUILD_DIR)/[EMAIL PROTECTED]@ +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ C_BUILTIN = src/builtin TCL_LIB = library Index: languages/WMLScript/config/makefiles/root.in =================================================================== --- languages/WMLScript/config/makefiles/root.in (revision 28529) +++ languages/WMLScript/config/makefiles/root.in (working copy) @@ -13,6 +13,9 @@ O = @o@ LOAD_EXT = @load_ext@ PARROT_DYNEXT = @build_dir@/runtime/parrot/dynext +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ SRM=Stack Index: languages/pynie/config/makefiles/root.in =================================================================== --- languages/pynie/config/makefiles/root.in (revision 28529) +++ languages/pynie/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/squaak/config/makefiles/root.in =================================================================== --- languages/squaak/config/makefiles/root.in (revision 28529) +++ languages/squaak/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/abc/config/makefiles/root.in =================================================================== --- languages/abc/config/makefiles/root.in (revision 28529) +++ languages/abc/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/ook/config/makefiles/root.in =================================================================== --- languages/ook/config/makefiles/root.in (revision 28529) +++ languages/ook/config/makefiles/root.in (working copy) @@ -7,6 +7,9 @@ PERL = @perl@ RM_F = @rm_f@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up directories BUILD_DIR = @build_dir@ Index: languages/dotnet/config/Makefile.in =================================================================== --- languages/dotnet/config/Makefile.in (revision 28529) +++ languages/dotnet/config/Makefile.in (working copy) @@ -19,6 +19,9 @@ PMCBUILD = $(PERL) ${build_dir}${slash}tools${slash}build${slash}dynpmc.pl OPSBUILD = $(PERL) ${build_dir}${slash}tools${slash}build${slash}dynoplibs.pl DESTDIR = ${build_dir}${slash}runtime${slash}parrot${slash}dynext +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # FILE EXTENSIONS Index: languages/pheme/config/makefiles/root.in =================================================================== --- languages/pheme/config/makefiles/root.in (revision 28529) +++ languages/pheme/config/makefiles/root.in (working copy) @@ -11,6 +11,9 @@ PGE_LIBRARY = $(BUILD_DIR)/runtime/parrot/library/PGE PERL6GRAMMAR = $(PGE_LIBRARY)/Perl6Grammar.pbc RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # the default target all: pheme.pbc Index: languages/parrot_compiler/config/makefiles/root.in =================================================================== --- languages/parrot_compiler/config/makefiles/root.in (revision 28529) +++ languages/parrot_compiler/config/makefiles/root.in (working copy) @@ -8,6 +8,9 @@ RM_F = @rm_f@ PARROT = ../../@test_prog@@exe@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up directories BUILD_DIR = @build_dir@ Index: languages/c99/config/makefiles/root.in =================================================================== --- languages/c99/config/makefiles/root.in (revision 28529) +++ languages/c99/config/makefiles/root.in (working copy) @@ -17,6 +17,9 @@ CAT = $(PERL) -MExtUtils::Command -e cat BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext Index: languages/scheme/config/makefiles/root.in =================================================================== --- languages/scheme/config/makefiles/root.in (revision 28529) +++ languages/scheme/config/makefiles/root.in (working copy) @@ -7,6 +7,9 @@ PERL = @perl@ RM_F = @rm_f@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up directories BUILD_DIR = @build_dir@ Index: languages/lazy-k/config/makefiles/root.in =================================================================== --- languages/lazy-k/config/makefiles/root.in (revision 28529) +++ languages/lazy-k/config/makefiles/root.in (working copy) @@ -7,6 +7,9 @@ PERL = @perl@ RM_F = @rm_f@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # set up location BUILD_DIR = @build_dir@ Index: languages/eclectus/config/makefiles/root.in =================================================================== --- languages/eclectus/config/makefiles/root.in (revision 28529) +++ languages/eclectus/config/makefiles/root.in (working copy) @@ -14,6 +14,9 @@ RM_F = @rm_f@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl BUILD_DYNPMC = $(PERL) @build_dir@/tools/build/dynpmc.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up directories PARROT_DYNEXT = @build_dir@/runtime/parrot/dynext Index: languages/befunge/config/makefiles/root.in =================================================================== --- languages/befunge/config/makefiles/root.in (revision 28529) +++ languages/befunge/config/makefiles/root.in (working copy) @@ -6,6 +6,9 @@ PARROT = ../../parrot PERL = @perl@ RM_F = @rm_f@ +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ default: all Index: languages/cola/config/makefiles/root.in =================================================================== --- languages/cola/config/makefiles/root.in (revision 28529) +++ languages/cola/config/makefiles/root.in (working copy) @@ -11,6 +11,9 @@ YACC = @yacc@ LEX = @lex@ RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl +#CONDITIONED_LINE(darwin): +#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ # Set up extensions O = @o@