From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 5 16:10:50 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6238D16A4CE for ; Fri, 5 Mar 2004 16:10:50 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3870343D31 for ; Fri, 5 Mar 2004 16:10:50 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i260AjRH018485 for ; Fri, 5 Mar 2004 16:10:45 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i260AjUx018484 for amd64@freebsd.org; Fri, 5 Mar 2004 16:10:45 -0800 Date: Fri, 5 Mar 2004 16:10:45 -0800 From: Brooks Davis To: amd64@freebsd.org Message-ID: <20040306001044.GA13189@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: patch for open-motif X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 00:10:50 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I found I need to apply the following patch to the open-motif port to enable the sge port to link against libXm. It's clearly not the best solution since open-motif compiles most files with -fPIC already, but to does let sge link. -- Brooks Index: 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: /mirrors/cvs/FreeBSD/ports/x11-toolkits/open-motif/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- Makefile 4 Feb 2004 05:10:12 -0000 1.30 +++ Makefile 5 Mar 2004 23:20:04 -0000 @@ -38,6 +38,10 @@ DEMOS_SRC=3D ${WRKSRC}/demos/programs =20 .include =20 +.if ${ARCH} =3D=3D amd64 +CONFIGURE_ENV+=3D CFLAGS=3D"-fPIC ${CFLAGS}" +.endif + .if ${XFREE86_VERSION} >=3D 4 RUN_DEPENDS=3D imake:${PORTSDIR}/devel/imake-4 .endif --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFASRcBXY6L6fI4GtQRAjNSAKDl6YtEafugueOqpAHl/IZXiUH+vQCcCCpR ybfQxEUaQJebolmfLXbDvp0= =KWp2 -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--