--- nas-1.9.4.old/config/NasConfig.h +++ nas-1.9.4/config/NasConfig.h @@ -25,7 +25,7 @@ */ #ifndef NASCONFSEARCHPATH -#define NASCONFSEARCHPATH "/etc/nas/" +#define NASCONFSEARCHPATH "__META_PREFIX__/etc/nas/" #endif #define NAS_USEMTSAFEAPI /* if defined, try to use xthread mutexes --- nas-1.9.4.old/config/NetAudio.def +++ nas-1.9.4/config/NetAudio.def @@ -8,6 +8,5 @@ XCOMM Directory where NAS will look for it's config file(s) #ifndef NasConfigSearchPath -#define NasConfigSearchPath /etc/nas/ +#define NasConfigSearchPath __META_PREFIX__/etc/nas/ #endif - --- nas-1.9.4.old/server/Makefile +++ nas-1.9.4/server/Makefile @@ -1169,7 +1169,7 @@ cleandir:: $(RM) $(ALL) - ETCDIR = /etc/nas/ + ETCDIR = __META_PREFIX__/etc/nas/ all:: nasd.$(MANNEWSUFFIX) --- nas-1.9.4.old/server/dia/Makefile +++ nas-1.9.4/server/dia/Makefile @@ -1070,7 +1070,7 @@ OBJS = dispatch.o dixutils.o events.o globals.o main.o resource.o swapreq.o tables.o swaprep.o audispatch.o auswap.o autables.o auevents.o auutil.o auconfig.o auprocess.o nasconf.o lex.o gram.o INCLUDES = -I. -I../include -I../../include -I../../lib/audio - DEFINES = -DNASCONFSEARCHPATH=\"/etc/nas/\" + DEFINES = -DNASCONFSEARCHPATH=\"__META_PREFIX__/etc/nas/\" .c.o: $(RM) $@