aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-09-19 04:41:15 +0800
committerswills <swills@FreeBSD.org>2012-09-19 04:41:15 +0800
commitbb87238692f2a79efe64ffde14d0f02c94cc831f (patch)
tree2f2013aa8c523dadca3d10fe776aa0b1aa836446 /lang
parentef39023aec1ab767d5d8f7e3510943a299f740bf (diff)
downloadfreebsd-ports-gnome-bb87238692f2a79efe64ffde14d0f02c94cc831f.tar.gz
freebsd-ports-gnome-bb87238692f2a79efe64ffde14d0f02c94cc831f.tar.zst
freebsd-ports-gnome-bb87238692f2a79efe64ffde14d0f02c94cc831f.zip
- Fix build with clang
Submitted by: dim
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index c8adbfe101d4..274207baa2b1 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -20,11 +20,12 @@ COMMENT?= An object-oriented interpreted scripting language
GNU_CONFIGURE= yes
WRKSRC= ${RUBY_WRKSRC}
-CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} --enable-shared
-CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \
+CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} --enable-shared --enable-frame-address
+CONFIGURE_ENV= CFLAGS="-fwrapv -I${OPENSSLINC} ${CFLAGS}" \
LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}" \
LIBS="-L${OPENSSLLIB} ${LDFLAGS}" \
CPPFLAGS="-I${OPENSSLINC} ${CPPFLAGS}"
+USE_CSTD= gnu89
USE_OPENSSL= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal autoconf