pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47948: (x11/libdrm) [PATCH] powerpc support
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Number: 47948
>Category: pkg
>Synopsis: x11/libdrm can be packaged for powerpc without libpciaccess
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 21 12:05:01 +0000 2013
>Originator: Makoto Fujiwara
>Release: NetBSD 6.1
>Organization:
KINU Corporation
>Environment:
System: NetBSD mini-6 6.1 NetBSD 6.1 (GENERIC) macppc
Architecture: powerpc
Machine: macppc
>Description:
x11/libdrm now wants libpciaccess unconditionally, and
fails to package on powerpc machine.
But it can be packaged without libpciaccess for powerpc arch.
The message you will see with current setup:
=> Verifying package-install for ../../sysutils/libpciaccess
ERROR: This package is only available for these platforms:
FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
FreeBSD-*-x86_64 NetBSD-*-x86_64 OpenBSD-*-x86_64
DragonFly-*-i386 DragonFly-*-x86_64
Linux-*-* SunOS-*-* NetBSD-*-sparc64 NetBSD-*-hppa.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: libpciaccess-0.13.1nb3 is not available for NetBSD-6.1-powerpc
*** Error code 1
>How-To-Repeat:
install NetBSD/(powerpc-family) 6.1
Have pkgsrc tree
cd /usr/pkgsrc/x11/libdrm;
make package
>Fix:
Index: x11/libdrm/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/libdrm/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- x11/libdrm/Makefile 18 May 2013 13:40:48 -0000 1.31
+++ x11/libdrm/Makefile 21 Jun 2013 10:20:36 -0000
@@ -38,5 +38,7 @@
PTHREADSTUBS_LIBS=-L${PREFIX}/lib
CONFIGURE_ARGS+= --disable-manpages
-.include "../../sysutils/libpciaccess/buildlink3.mk"
+.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) ||
!empty(MACHINE_ARCH:Msparc64) || !empty(MACHINE_ARCH:Mhppa)
+. include "../../sysutils/libpciaccess/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"
Index: x11/libdrm/PLIST
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/libdrm/PLIST,v
retrieving revision 1.10
diff -u -r1.10 PLIST
--- x11/libdrm/PLIST 18 May 2013 13:40:48 -0000 1.10
+++ x11/libdrm/PLIST 21 Jun 2013 10:20:36 -0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.10 2013/05/18 13:40:48 wiz Exp $
+@comment $NetBSD$
include/libdrm/drm.h
include/libdrm/drm_fourcc.h
include/libdrm/drm_mode.h
include/libdrm/drm_sarea.h
include/libdrm/i915_drm.h
-include/libdrm/intel_aub.h
-include/libdrm/intel_bufmgr.h
-include/libdrm/intel_debug.h
include/libdrm/mach64_drm.h
include/libdrm/mga_drm.h
include/libdrm/nouveau.h
@@ -29,10 +26,8 @@
include/xf86drm.h
include/xf86drmMode.h
lib/libdrm.la
-lib/libdrm_intel.la
lib/libdrm_nouveau.la
lib/libdrm_radeon.la
lib/pkgconfig/libdrm.pc
-lib/pkgconfig/libdrm_intel.pc
lib/pkgconfig/libdrm_nouveau.pc
lib/pkgconfig/libdrm_radeon.pc
Index: x11/libdrm/PLIST.hppa
===================================================================
RCS file: x11/libdrm/PLIST.hppa
diff -N x11/libdrm/PLIST.hppa
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ x11/libdrm/PLIST.hppa 21 Jun 2013 10:20:36 -0000
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libdrm/intel_aub.h
+include/libdrm/intel_bufmgr.h
+include/libdrm/intel_debug.h
+lib/libdrm_intel.la
+lib/pkgconfig/libdrm_intel.pc
Index: x11/libdrm/PLIST.i386
===================================================================
RCS file: x11/libdrm/PLIST.i386
diff -N x11/libdrm/PLIST.i386
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ x11/libdrm/PLIST.i386 21 Jun 2013 10:20:36 -0000
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libdrm/intel_aub.h
+include/libdrm/intel_bufmgr.h
+include/libdrm/intel_debug.h
+lib/libdrm_intel.la
+lib/pkgconfig/libdrm_intel.pc
Index: x11/libdrm/PLIST.sparc
===================================================================
RCS file: x11/libdrm/PLIST.sparc
diff -N x11/libdrm/PLIST.sparc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ x11/libdrm/PLIST.sparc 21 Jun 2013 10:20:36 -0000
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libdrm/intel_aub.h
+include/libdrm/intel_bufmgr.h
+include/libdrm/intel_debug.h
+lib/libdrm_intel.la
+lib/pkgconfig/libdrm_intel.pc
Index: x11/libdrm/PLIST.x86_64
===================================================================
RCS file: x11/libdrm/PLIST.x86_64
diff -N x11/libdrm/PLIST.x86_64
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ x11/libdrm/PLIST.x86_64 21 Jun 2013 10:20:36 -0000
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libdrm/intel_aub.h
+include/libdrm/intel_bufmgr.h
+include/libdrm/intel_debug.h
+lib/libdrm_intel.la
+lib/pkgconfig/libdrm_intel.pc
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index