Subject: pkg/30032: problem building fluxbox on -current
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/22/2005 11:59:00
>Number:         30032
>Category:       pkg
>Synopsis:       compile fluxbox on -current (and a patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 22 11:59:00 +0000 2005
>Originator:     Antoine Reilles
>Release:        NetBSD 3.99.3
System: NetBSD 3.99.3 NetBSD 3.99.3 (XEN0) #0: Tue Apr 12 14:45:09 CEST 2005 i386
Architecture: i386
Machine: i386
Fluxbox has problems compiling on -current
The first problem is that the workaround for pkg/29825 is not applied with -current
I disabled the test since it is not really a problem to build only with -O1 on
any machine (thanks dynek)

After that, there is a problem with libiconv. Adding 
.include "../../converters/libiconv/"
fixed that.

try to compile wm/fluxbox on -current
A possible solution

Index: Makefile
RCS file: /cvsroot/pkgsrc/wm/fluxbox/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	11 Apr 2005 21:47:47 -0000	1.22
+++ Makefile	22 Apr 2005 11:52:21 -0000
@@ -22,13 +22,14 @@
 # Workaround for pkg/29825 -- older compilers apparently
 # have problems building this package.
-.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
+#.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
 CONFIGURE_ARGS+=	--enable-nls
 CONFIGURE_ARGS+=	--enable-xinerama
 .include ""
+.include "../../converters/libiconv/"
 .include "../../mk/"