Files
pkgsrc-ng/textproc/py-X/patches/patch-aa
2013-09-26 17:14:40 +02:00

14 lines
657 B
Plaintext

$NetBSD: patch-aa,v 1.1 2007/05/19 01:14:07 adrianp Exp $
--- setup.py.orig 2006-03-09 16:49:55.000000000 +0000
+++ setup.py
@@ -75,7 +75,7 @@ adddatafiles("sharedir", "share/pyx", ["
# Note that on windows we can't install to absolute paths. Hence
# we put the global pyxrc into the share directory as well.
-adddatafiles("pyxrcdir", os.name != "nt" and "/etc" or "share/pyx", ["pyxrc"])
+adddatafiles("pyxrcdir", os.name != "nt" and "@PKG_SYSCONFDIR@" or "share/pyx", ["pyxrc.default"])
################################################################################
# extend install commands to overwrite siteconfig.py during build and install