From 2d6f8c585ad7808ac43658ecee0d2b7b208e1e47 Mon Sep 17 00:00:00 2001 From: Janet Anderson Date: Thu, 5 Jan 2012 10:45:20 -0600 Subject: [PATCH] Move DarwinPorts and Fink usage definitions to a CONFIG_SITE file --- configure/os/CONFIG.darwinCommon.darwinCommon | 14 ------------- .../os/CONFIG_SITE.darwinCommon.darwinCommon | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 configure/os/CONFIG_SITE.darwinCommon.darwinCommon diff --git a/configure/os/CONFIG.darwinCommon.darwinCommon b/configure/os/CONFIG.darwinCommon.darwinCommon index 2244276c6..dd794a02d 100644 --- a/configure/os/CONFIG.darwinCommon.darwinCommon +++ b/configure/os/CONFIG.darwinCommon.darwinCommon @@ -52,20 +52,6 @@ OP_SYS_CPPFLAGS += -Ddarwin OPT_CFLAGS_YES += -g OPT_CXXFLAGS_YES += -g -# -# The following two definitions enable the use of DarwinPorts packages. -# -OP_SYS_INCLUDES += -I/opt/local/include -# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist -OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*)))) - -# -# The following two definitions enable the use of Fink packages. -# -OP_SYS_INCLUDES += -I/sw/include -# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist -OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*)))) - # # Libraries for command-line editing. # diff --git a/configure/os/CONFIG_SITE.darwinCommon.darwinCommon b/configure/os/CONFIG_SITE.darwinCommon.darwinCommon new file mode 100644 index 000000000..e1690ba09 --- /dev/null +++ b/configure/os/CONFIG_SITE.darwinCommon.darwinCommon @@ -0,0 +1,20 @@ +# CONFIG_SITE.darwinCommon.darwinCommon +# +# $Revision-Id$ +# This file is maintained by the build community. +# +# Site specific definitions for darwin builds +#------------------------------------------------------- + +# Uncomment the following two definitions to enable the use of DarwinPorts packages. +# +#OP_SYS_INCLUDES += -I/opt/local/include +# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist +#OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*)))) + +# Uncomment the following two definitions to enable the use of Fink packages. +# +#OP_SYS_INCLUDES += -I/sw/include +# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist +#OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*)))) +