Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 11:33:19 +1000
From:      Dima Panov <fluffy@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Cc:        Brooks Davis <brooks@freebsd.org>
Subject:   Re: ports/139207: devel/llvm: some options, use -fPIC on 64-bit platforms
Message-ID:  <200912021133.31005.fluffy@freebsd.org>
In-Reply-To: <200909280940.n8S9e2b0071367@freefall.freebsd.org>
References:  <200909280940.n8S9e2b0071367@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5664578.yvXhireVik
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Monday 28 September 2009 20:40:02 FreeBSD-gnats-submit@freebsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/139207'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>=20
> You can access the state of your problem report at any time
> via this link:
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D139207
>=20
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       devel/llvm: some options, use -fPIC on 64-bit platforms
> >Arrival-Date:   Mon Sep 28 09:40:02 UTC 2009

Patch updated for llvm 2.6.

Brooks, it strongly needed, KOffice2 can't be builded without this.

Index: devel/llvm/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/ports/devel/llvm/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
=2D-- devel/llvm/Makefile	5 Nov 2009 00:42:12 -0000	1.31
+++ devel/llvm/Makefile	2 Dec 2009 01:21:42 -0000
@@ -7,7 +7,7 @@
=20
 PORTNAME=3D	llvm
 PORTVERSION=3D	2.6
=2DPORTREVISION=3D	1
+PORTREVISION=3D	2
 CATEGORIES=3D	devel lang
 MASTER_SITES=3D	http://llvm.org/releases/${PORTVERSION}/
=20
@@ -37,6 +37,8 @@
=20
 CONFIGURE_ARGS+=3D	--enable-bindings=3Dnone
=20
+OPTIONS=3D	NO_ASSERTS	"Disable assertions (needed by graphics/opengtl)" off
+
 .if defined(NOPORTDOCS)
 DOCSRCDIR=3D
 .else
@@ -57,6 +59,16 @@
 BROKEN=3D		Does not compile on sparc64
 .endif
=20
+.if ${ARCH} =3D=3D "amd64" || ${ARCH} =3D=3D "ia64"
+CFLAGS+=3D	-fPIC
+.endif
+
+.ifdef(WITH_NO_ASSERTS)
+CONFIGURE_ARGS+=3D	--disable-assertions
+.else
+CONFIGURE_ARGS+=3D	--enable-assertions
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=3D\).*$$|\1${DOCSDIR}|g' \
 	    ${WRKSRC}/Makefile.config.in


=2D-=20
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 =
B018
Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 =
8F29
KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept =
1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:174=
5024

--nextPart5664578.yvXhireVik
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEABECAAYFAksVw+oACgkQpiZ27ZPjsBjkzgCgn03NH36Lx0UzGMlUsgqTxkM9
ErwAoKHTlapqQId63oTwnT6JCiPSSZxa
=s9Gf
-----END PGP SIGNATURE-----

--nextPart5664578.yvXhireVik--



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