$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
