aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2011-07-26 02:07:13 +0800
committerjohans <johans@FreeBSD.org>2011-07-26 02:07:13 +0800
commitaa45c54582a4ddbb04aee230c4829a940c021751 (patch)
tree5f5ccc7f77b3b2076e0c0b1eb67b616e6e56020b /mail
parent7e8a634ad12a05e9a6ab55cab3615393f954c8c1 (diff)
downloadfreebsd-ports-gnome-aa45c54582a4ddbb04aee230c4829a940c021751.tar.gz
freebsd-ports-gnome-aa45c54582a4ddbb04aee230c4829a940c021751.tar.zst
freebsd-ports-gnome-aa45c54582a4ddbb04aee230c4829a940c021751.zip
Fix elm build with clang (respect $CC in configure)
Diffstat (limited to 'mail')
-rw-r--r--mail/elm+ME/Makefile2
-rw-r--r--mail/elm+ME/scripts/pre-configure2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/elm+ME/Makefile b/mail/elm+ME/Makefile
index 12497fc489fc..bb52e6b767e2 100644
--- a/mail/elm+ME/Makefile
+++ b/mail/elm+ME/Makefile
@@ -42,7 +42,7 @@ SCRIPTS_ENV= CONFIG_PATH="${CONFIG_PATH}" CFLAGS="${CFLAGS}" \
LIB_DIR="${LIB_DIR}" SHLIB_DIR="${SHLIB_DIR}" \
STAGE_DIR="${STAGE_DIR}" ELM_SHLIBS="${ELM_SHLIBS}" \
OPENSSLLIB="${OPENSSLLIB}" OPENSSLINC="${OPENSSLINC}" \
- OPENSSLBASE="${OPENSSLBASE}"
+ OPENSSLBASE="${OPENSSLBASE}" CC="${CC}"
CONFIGURE_ARGS= -b -S -P ${PREFIX} -c ../${CONFIG_PATH:T}
MAKE_ENV= MJ="FORMATTER=groff FORMATTER_OPTS=-Tlatin1"
diff --git a/mail/elm+ME/scripts/pre-configure b/mail/elm+ME/scripts/pre-configure
index b7048d35f67c..297ba85a5014 100644
--- a/mail/elm+ME/scripts/pre-configure
+++ b/mail/elm+ME/scripts/pre-configure
@@ -321,7 +321,7 @@ nopic=''
shared_extra=''
cppflags=''
ldflags='-s'
-cc='cc'
+cc='${CC}'
libs=''
nametype='bsd'
d_passnames='define'