Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 20:41:15 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304456 - head/lang/ruby18
Message-ID:  <201209182041.q8IKfFmY058575@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Sep 18 20:41:15 2012
New Revision: 304456
URL: http://svn.freebsd.org/changeset/ports/304456

Log:
  - Fix build with clang
  
  Submitted by:	dim

Modified:
  head/lang/ruby18/Makefile   (contents, props changed)

Modified: head/lang/ruby18/Makefile
==============================================================================
--- head/lang/ruby18/Makefile	Tue Sep 18 20:12:55 2012	(r304455)
+++ head/lang/ruby18/Makefile	Tue Sep 18 20:41:15 2012	(r304456)
@@ -20,11 +20,12 @@ COMMENT?=	An object-oriented interpreted
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209182041.q8IKfFmY058575>