patch for open-motif

Brooks Davis brooks at one-eyed-alien.net
Fri Mar 5 16:10:50 PST 2004


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
===================================================================
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=	${WRKSRC}/demos/programs
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == amd64
+CONFIGURE_ENV+=	CFLAGS="-fPIC ${CFLAGS}"
+.endif
+
 .if ${XFREE86_VERSION} >= 4
 RUN_DEPENDS=	imake:${PORTSDIR}/devel/imake-4
 .endif

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20040305/7fedb16e/attachment.bin


More information about the freebsd-amd64 mailing list