aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/016_nx-x11_install-location.full.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/016_nx-x11_install-location.full.patch')
-rw-r--r--debian/patches/016_nx-x11_install-location.full.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/016_nx-x11_install-location.full.patch b/debian/patches/016_nx-x11_install-location.full.patch
new file mode 100644
index 000000000..0231bcba7
--- /dev/null
+++ b/debian/patches/016_nx-x11_install-location.full.patch
@@ -0,0 +1,32 @@
+Description: FHS adaptation for Debian packaging
+ From tarball, NX libraries and binaries are installed to
+ /usr/local/lib/nx.
+Forwarded: not-needed
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Last-Update: 2012-12-31
+--- a/nx-X11/config/cf/Imake.tmpl
++++ b/nx-X11/config/cf/Imake.tmpl
+@@ -820,12 +820,12 @@
+
+ #ifndef UsrLibDir
+ #ifdef ProjectRoot
+-#define UsrLibDir Concat3(ProjectRoot,/,LibDirName)
++#define UsrLibDir Concat4(ProjectRoot,/,LibDirName,/nx)
+ #ifndef AlternateUsrLibDir
+ #define AlternateUsrLibDir YES
+ #endif
+ #else
+-#define UsrLibDir Concat3(/usr,/,LibDirName)
++#define UsrLibDir Concat4(/usr/local,/,LibDirName,/nx)
+ #ifndef AlternateUsrLibDir
+ #define AlternateUsrLibDir NO
+ #endif
+@@ -863,7 +863,7 @@
+ #endif
+ #ifndef IncRoot
+ #ifdef ProjectRoot
+-#define IncRoot Concat(ProjectRoot,/include)
++#define IncRoot Concat(ProjectRoot,/include/nx)
+ #ifndef AlternateIncRoot
+ #define AlternateIncRoot YES
+ #endif