Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 16:10:45 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        amd64@freebsd.org
Subject:   patch for open-motif
Message-ID:  <20040306001044.GA13189@Odin.AC.HMC.Edu>

next in thread | raw e-mail | index | archive | help

--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 <bsd.port.pre.mk>
=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--



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