Subject: pkg/33612: textproc/gtk-doc patch jade->openjade for sparc arch
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Hallmann <hallmann@ahatec.de>
List: pkgsrc-bugs
Date: 05/31/2006 13:15:00
>Number:         33612
>Category:       pkg
>Synopsis:       textproc/gtk-doc patch jade->openjade for sparc arch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 13:15:00 +0000 2006
>Originator:     Andreas Hallmann
>Release:        NetBSD 3.0_STABLE
>Organization:
Hallmann EDV Dienstleistungen
>Environment:
System: NetBSD nda 3.0_STABLE NetBSD 3.0_STABLE (AHASS5) #10: Fri May 26 12:48:08 CEST 2006 root@kukalda:/export/work/build.objs/v8/3.0/export/netbsd/netbsd-3-0/src/sys/arch/sparc/compile/AHASS5 sparc
Architecture: sparc
Machine: sparc
>Description:
	jade is broken on sparc arch for ~1 year now.
	Therefor please make gtk-doc DEPEND on textproc/openjade until PR pkg/33611 is resolved.
	Since openjade's code base is more recent, we should at least consider turning to openjade.
	jade was build against gcc-2.8.5. (IIRC)
	Since gcc sticks to its tradition, not to be able compile programs for its predecessors,
	may be we are better of with openjade.

	But having them both working allows for turning the knob I want to turn today.

>How-To-Repeat:
	compile textproc/jade on a sparc station
>Fix:
	The following work around  make gtk-doc DEPENDS on textprog/openjade when compiled on a sparc.

Index: textproc/gtk-doc/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/gtk-doc/Makefile,v
retrieving revision 1.24
diff -r1.24 Makefile
24a25,28
> .if ${MACHINE_ARCH} == "sparc"
> # jade is broken on sparc
> DEPENDS+=	openjade>=1.3.2:../../textproc/openjade
> .else
25a30
> .endif