Subject: xsrc/20352: XFree 4 doesn't build all libs shared
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 02/15/2003 13:03:31
>Number: 20352
>Category: xsrc
>Synopsis: XFree 4 doesn't build all libs shared
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 15 04:04:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Hubert Feyrer
>Release: latest xsrc
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Environment:
i386
Architecture: i386
Machine: i386
>Description:
XFree 4 from xsrc doesn't build all libs as shared. When trying
to build some dynamic objects (e.g. for XMMS plugins), linking
.a libs into .so files doesn't work.
>How-To-Repeat:
cd /usr/pkgsrc/audio/xmms-iris
make
>Fix:
Apply the patch below:
Index: NetBSD.cf
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/config/cf/NetBSD.cf,v
retrieving revision 1.41
diff -u -r1.41 NetBSD.cf
--- NetBSD.cf 2003/01/27 16:29:48 1.41
+++ NetBSD.cf 2003/02/15 01:46:03
@@ -671,6 +671,62 @@
#define SharedLibXdmGreet NO
#endif
+#ifndef SharedLibXss
+#define SharedLibXss YES
+#endif
+
+#ifndef SharedLibXxf86misc
+#define SharedLibXxf86misc YES
+#endif
+
+#ifndef SharedLibXxf86vm
+#define SharedLibXxf86vm YES
+#endif
+
+#ifndef SharedLibXxf86dga
+#define SharedLibXxf86dga YES
+#endif
+
+#ifndef SharedLibXxf86rush
+#define SharedLibXxf86rush YES
+#endif
+
+#ifndef SharedLibXv
+#define SharedLibXv YES
+#endif
+
+#ifndef SharedLibXvMC
+#define SharedLibXvMC YES
+#endif
+
+#ifndef SharedLibXinerama
+#define SharedLibXinerama YES
+#endif
+
+#ifndef SharedLibGLw
+#define SharedLibGLw YES
+#endif
+
+#ifndef SharedLibXau
+#define SharedLibXau YES
+#endif
+
+#ifndef SharedLibXdmcp
+#define SharedLibXdmcp YES
+#endif
+
+#ifndef SharedLibPhigs
+#define SharedLibPhigs YES
+#endif
+
+#ifndef SharedLibFS
+#define SharedLibFS YES
+#endif
+
+#ifndef SharedLibFontEnc
+#define SharedLibFontEnc YES
+#endif
+
#ifndef BuildHtmlManPages
#define BuildHtmlManPages NO /* We don't want HTML manpages */
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: