]> err.no Git - scalable-opengroupware.org/commitdiff
Fix up DESTDIR support
authorTollef Fog Heen <tfheen@err.no>
Fri, 2 May 2008 12:25:29 +0000 (14:25 +0200)
committerTollef Fog Heen <tfheen@err.no>
Fri, 2 May 2008 12:25:29 +0000 (14:25 +0200)
debian/patches/00list [new file with mode: 0644]
debian/patches/fix-destdir.dpatch [new file with mode: 0755]

diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644 (file)
index 0000000..dbb14fe
--- /dev/null
@@ -0,0 +1 @@
+fix-destdir
diff --git a/debian/patches/fix-destdir.dpatch b/debian/patches/fix-destdir.dpatch
new file mode 100755 (executable)
index 0000000..0aee89a
--- /dev/null
@@ -0,0 +1,35 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-destdir.dpatch by  <tfheen@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad sogo~/configure sogo/configure
+--- sogo~/configure    2008-05-02 14:20:54.000000000 +0200
++++ sogo/configure     2008-05-02 14:24:39.000000000 +0200
+@@ -303,16 +303,16 @@
+   else
+     cfgwrite "# configured for GNUstep install"
+     cfgwrite ""
+-    cfgwrite "SOGO_SYSLIBDIR=\${DESTDIR}/\${GNUSTEP_LIBRARY}/Libraries"
+-    cfgwrite "SOGO_LIBDIR=\${DESTDIR}/\${GNUSTEP_LIBRARY}/SOGo-\${SOGO_MAJOR_VERSION}.\${SOGO_MINOR_VERSION}"
++    cfgwrite "SOGO_SYSLIBDIR=\${GNUSTEP_LIBRARY}/Libraries"
++    cfgwrite "SOGO_LIBDIR=\${GNUSTEP_LIBRARY}/SOGo-\${SOGO_MAJOR_VERSION}.\${SOGO_MINOR_VERSION}"
+     cfgwrite "SOGO_TEMPLATESDIR=\${SOGO_LIBDIR}/Templates"
+     cfgwrite "SOGO_WEBSERVERRESOURCESDIR=\${SOGO_LIBDIR}/WebServerResources"
+-    cfgwrite "SOGO_TOOLS=\${DESTDIR}/\${GNUSTEP_TOOLS}"
+-    cfgwrite "SOGO_ADMIN_TOOLS=\${DESTDIR}/\${GNUSTEP_ADMIN_TOOLS}"
+-    cfgwrite "SOPE_SAXMAPPINGS=\${DESTDIR}/\${GNUSTEP_LIBRARY}/SaxMappings"
+-    cfgwrite "SOPE_SAXDRIVERS=\${DESTDIR}/\${GNUSTEP_LIBRARY}/SaxDrivers-\${SOPE_MAJOR_VERSION}.\${SOPE_MINOR_VERSION}"
+-    cfgwrite "SOPE_WOXBUILDERS=\${DESTDIR}/\${GNUSTEP_LIBRARY}/WOxElemBuilders-\${SOPE_MAJOR_VERSION}.\${SOPE_MINOR_VERSION}"
+-    cfgwrite "SOGO_TYPEMODELS=\${DESTDIR}/\${GNUSTEP_LIBRARY}/OCSTypeModels"
++    cfgwrite "SOGO_TOOLS=\${GNUSTEP_TOOLS}"
++    cfgwrite "SOGO_ADMIN_TOOLS=\${GNUSTEP_ADMIN_TOOLS}"
++    cfgwrite "SOPE_SAXMAPPINGS=\${GNUSTEP_LIBRARY}/SaxMappings"
++    cfgwrite "SOPE_SAXDRIVERS=\${GNUSTEP_LIBRARY}/SaxDrivers-\${SOPE_MAJOR_VERSION}.\${SOPE_MINOR_VERSION}"
++    cfgwrite "SOPE_WOXBUILDERS=\${GNUSTEP_LIBRARY}/WOxElemBuilders-\${SOPE_MAJOR_VERSION}.\${SOPE_MINOR_VERSION}"
++    cfgwrite "SOGO_TYPEMODELS=\${GNUSTEP_LIBRARY}/OCSTypeModels"
+   fi
+   if test $ARG_WITH_STRIP = 1; then