pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42575: x11/libxdg-basedir doesn't honor PKG_SYSCONFDIR
>Number: 42575
>Category: pkg
>Synopsis: x11/libxdg-basedir doesn't honor PKG_SYSCONFDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 04 00:10:01 +0000 2010
>Originator: Pierre Allegraud
>Release: NetBSD/amd64-CURRENT
>Organization:
>Environment:
NetBSD klarth.reseau 5.99.23 NetBSD 5.99.23 (GENERIC) #0: Wed Dec 30 14:26:43
CET 2009
root%klarth.reseau@localhost:/usr/obj/usr/src/sys/arch/amd64/compile/GENERIC
amd64
>Description:
Packages compiled with x11/libxdg-basedir are searching their config files
somewhere in /etc/xdg instead of ${PKG_SYSCONFDIR}/xdg.
Could you check my quick and dirty fix, and, if it's correct, commit it, please
?
>How-To-Repeat:
>Fix:
It works for me...
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/libxdg-basedir/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile 8 Nov 2009 18:26:15 -0000 1.1.1.1
+++ Makefile 3 Jan 2010 23:55:26 -0000
@@ -16,6 +16,12 @@
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+SUBST_CLASSES+= xdgetc
+SUBST_MESSAGE.xdgetc= Fixing sysconfdir paths
+SUBST_STAGE.xdgetc= pre-build
+SUBST_FILES.xdgetc= src/basedir.c
+SUBST_SED.xdgetc= -e "s,DIR_SEPARATOR_STR \"etc\",\"${PKG_SYSCONFDIR}\","
+
PKGCONFIG_OVERRIDE+= pkgconfig/libxdg-basedir.pc.in
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index