Subject: pkg/24965: pnetlib doesn't links well against Xft2
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 03/30/2004 09:40:48
>Number:         24965
>Category:       pkg
>Synopsis:       DotGNU pnetlib doesn't links well against Xft2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 30 08:41:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZK
>Organization:
	
>Environment:
	
	
System: NetBSD pl2 1.6ZK NetBSD 1.6ZK (pancake-laptop) #9: Sun Feb 15 21:28:08 CET 2004 pancake@panser:/usr/src/sys/arch/i386/compile/PANCAKE_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	Trying to run simple "hello worlds" in DotGNU that uses 
	
>How-To-Repeat:
	Try that:

// -l ${PREFIX}/cscc/lib/System.Windows.Forms.dll

using System;
using System.Windows;
using System.Windows.Forms;

public class Form1 : Form
{
public static void Main(String[] a)
	{
	Application.Run(new Form1());
	}
}

	$ cscc win.cs -winforms
	$ ilrun a.out
	(ERROR APPEARED)
	
>Fix:
	Drop Xft2 support from pnetlib:

--- Makefile.orig	2004-03-30 09:32:34.000000000 +0000
+++ Makefile	2004-03-30 09:32:28.000000000 +0000
@@ -5,12 +5,12 @@
 
 USE_X11=		yes
 
-CONFIGURE_ARGS+=	--enable-xft
+#CONFIGURE_ARGS+=	--enable-xft
 CONFIGURE_ARGS+=	--with-x
 
 PLIST_SUBST+=		WITH_X11=
 
 CONFLICTS=		pnetlib-nox11-[0-9]*
 
-.include "../../fonts/Xft2/buildlink3.mk"
+#.include "../../fonts/Xft2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
	
>Release-Note:
>Audit-Trail:
>Unformatted: