Subject: Re: pkg/29825
To: None <jmcneill@netbsd.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: pkgsrc-bugs
Date: 03/29/2005 19:53:02
The following reply was made to PR pkg/29825; it has been noted by GNATS.
From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@netbsd.org
Cc: pkgsrc-bugs@netbsd.org, jasper@nedlinux.nl
Subject: Re: pkg/29825
Date: Tue, 29 Mar 2005 15:51:57 -0400 (AST)
Can you try the following patch?
--- Makefile 24 Mar 2005 15:00:40 -0000 1.20
+++ Makefile 29 Mar 2005 19:52:02 -0000
@@ -19,10 +19,17 @@
USE_GNU_TOOLS= make
USE_LIBTOOL= YES
+.include "../../mk/bsd.prefs.mk"
+
+# Workaround for pkg/29825 -- older compilers apparently
+# have problems building this package.
+.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
+BUILDLINK_TRANSFORM+= rename:-O2:-O1
+.endif
+
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --enable-xinerama
-.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.include "../../mk/bsd.pkg.mk"