[nas] [PATCH] Move AuErrorDB to /usr/share

Steve McIntyre steve at einval.com
Sun Jan 22 08:24:03 MST 2012


I've moved AuErrorDB to /usr/share to match the layout in
Debian. Patch here.

--- nas-1.9.3.orig/lib/audio/Imakefile
+++ nas-1.9.3/lib/audio/Imakefile
@@ -79,7 +79,7 @@
     COMPAT_OBJS = AuGetBest.o
 #endif /* ProjectX < 5 */
 
-     EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
+     EDB_DEFINES = -DERRORDB=\"/usr/share/libaudio2/AuErrorDB\"
 
         DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
    CONN_DEFINES = ConnectionFlags
@@ -137,11 +137,11 @@
 BuildIncludes($(HEADERS),audio,..)
 InstallMultiple($(HEADERS),$(INCDIR))
 #if ProjectX >= 5
-InstallNonExecFile(AuErrorDB,$(LIBDIR))
+InstallNonExecFile(AuErrorDB,/usr/share/libaudio2)
 #else
 install::
        $(MKDIRHIER) $(LIBDIR)
-InstallNonExec(AuErrorDB,$(LIBDIR))
+InstallNonExec(AuErrorDB,/usr/share/libaudio2)
 #endif
 
 #if defined(HPArchitecture) && !defined(LinuxArchitecture) && !defined(GNUArchitecture) && !defined(DarwinArchitecture)


-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
"I've only once written 'SQL is my bitch' in a comment. But that code 
 is in use on a military site..." -- Simon Booth



More information about the nas mailing list