pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36419: pkgxmkmf and XAPPLOADDIR=/etc/X11/app-defaults on Debian Linux

>Number:         36419
>Category:       pkg
>Synopsis:       pkgxmkmf and XAPPLOADDIR=/etc/X11/app-defaults on Debian Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 31 17:15:01 +0000 2007
>Release:        NetBSD 4.0_BETA2
Best regards, Aleksey Cheusov.
System: NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #16: Mon 
May 21 00:01:33 EEST 2007 i386
Architecture: i386
Machine: i386
  NetBSD 4.0 beta2 and Linux/Debian sarge systems,
  X11_TYPE is set to 'native'
  xpkgwedge-1.16 is installed
  Imakefile based project (wip/xxkb)

The problem is that under Debian Linux pkgxmkmf produces


line in Makefile. This obviously results in packaging error
because the default resource file is installed outside LOCALBASE.

Under NetBSD everything works fine because


is produced.

The following patch for pkgtools/xpkgwedge
works perfectly for me both under Debian Linux and NetBSD.

Index: files/xpkgwedge.def
RCS file: /cvsroot/pkgsrc/pkgtools/xpkgwedge/files/xpkgwedge.def,v
retrieving revision 1.12
diff -u -r1.12 xpkgwedge.def
--- files/xpkgwedge.def 31 Jul 2004 01:42:06 -0000      1.12
+++ files/xpkgwedge.def 31 May 2007 15:45:32 -0000
@@ -1,5 +1,7 @@
 /*     $NetBSD: xpkgwedge.def,v 1.12 2004/07/31 01:42:06 xtraeme Exp $ */
+#define EtcX11Directory LibDir
 #ifdef BeforeVendorCF

Home | Main Index | Thread Index | Old Index