pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44668: xpdf fails to build against lesstif
>Number: 44668
>Category: pkg
>Synopsis: xpdf fails to build against lesstif
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 02 19:35:00 +0000 2011
>Originator: Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
>Release: pkgsrc-2010Q4
>Organization:
>Environment:
System: NetBSD smalltalk.local 5.1_STABLE NetBSD 5.1_STABLE (RIADEBUG) #1: Mon
Feb 14 18:43:53 UTC 2011
root@smalltalk.local:/home/riastradh/netbsd/5/obj/sys/arch/i386/compile/RIADEBUG
i386
Architecture: i386
Machine: i386
>Description:
With MOTIF_TYPE=lesstif, when building xpdf, the configure
script finds <Xm/XmAll.h> unusable, because it includes
<X11/extensions/Print.h>, which is not available. Thus the
configure script decides not to build the xpdf executable,
which is not very helpful.
>How-To-Repeat:
Set MOTIF_TYPE=lesstif. Build print/xpdf. Set PKG_DEVELOPER
to YES to make sure the fireworks go off instead of silently
failing. Watch the fireworks.
>Fix:
Apply the following patch to x11/lesstif. It may suffice to
replace x11/libXp by x11/printproto in the added line, but I
haven't tested that, whereas I have tested it with x11/libXp.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/lesstif/Makefile,v
retrieving revision 1.96
diff -p -u -r1.96 Makefile
--- Makefile 16 Jan 2010 17:57:38 -0000 1.96
+++ Makefile 2 Mar 2011 19:32:33 -0000
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.96 2010/01/16 17:57:38 wiz Exp $
DISTNAME= lesstif-0.95.2
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lesstif/}
EXTRACT_SUFX= .tar.bz2
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/lesstif/buildlink3.mk,v
retrieving revision 1.19
diff -p -u -r1.19 buildlink3.mk
--- buildlink3.mk 16 Jan 2010 09:15:25 -0000 1.19
+++ buildlink3.mk 2 Mar 2011 19:32:33 -0000
@@ -10,6 +10,7 @@ BUILDLINK_PKGSRCDIR.lesstif?= ../../x11/
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif # LESSTIF_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index