Date: Thu, 12 May 2011 08:39:33 -0500 From: Brooks Davis <brooks@freebsd.org> To: Eric Will <rakaur@malkier.net> Cc: freebsd-current@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: llvm port does not allow REQUIRES_RTTI Message-ID: <20110512133933.GB37874@lor.one-eyed-alien.net> In-Reply-To: <BANLkTik5XC4-TRJ%2BiYg7-5-LfQYm4UVTEw@mail.gmail.com> References: <BANLkTik5XC4-TRJ%2BiYg7-5-LfQYm4UVTEw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 12, 2011 at 12:02:08PM -0400, Eric Will wrote: > The current Makefile for devel/llvm doesn't allow you to use > REQUIRES_RTTI. It's a pretty common option, and is even enabled by > default in devel/llvm-devel. I emailed the maintainer months ago and > haven't had a response or seen any changes. I've never done anything > with ports before, but my best stab at it is below. Sorry for dropping the ball on this. I'll try to get it done soon. The best way to submit this sort of change is via the PR system. -- Brooks >=20 > Thanks, >=20 > -- Eric Will >=20 > --- /usr/ports/devel/llvm/Makefile 2011-04-29 11:04:29.000000000 -04= 00 > +++ Makefile 2011-05-12 11:52:59.000000000 -0400 > @@ -40,6 +40,7 @@ > CONFIGURE_ARGS+=3D --enable-bindings=3Dnone >=20 > OPTIONS=3D ASSERTS "Enable assertions (thread unsafe)" off > +OPTIONS+=3D REQUIRES_RTTI "Enable run-time type IDs (RTTI)" on >=20 > .if defined(NOPORTDOCS) > CONFIGURE_ARGS+=3D --disable-docs > @@ -70,6 +71,10 @@ > .else > CONFIGURE_ARGS+=3D --disable-assertions > .endif > +.ifdef(WITH_REQUIRES_RTTI) > +CONFIGURE_ENV+=3DREQUIRES_RTTI=3D1 > +MAKE_ENV+=3DREQUIRES_RTTI=3D1 > +.endif >=20 > post-patch: > ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=3D\).*$$|\1${DOCSDIR}|g'= \ > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.o= rg" >=20 --gj572EiMnwbLXET9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFNy+MVXY6L6fI4GtQRAkuxAKDC/u1fUR8CUaPO59al8GjqupLcGACgyTsp 0vnsIiz5qrxxYJlCZc/k0xo= =Nt4K -----END PGP SIGNATURE----- --gj572EiMnwbLXET9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110512133933.GB37874>