summaryrefslogtreecommitdiffstats
path: root/main/goffice0.8/use-apiver-for-dirs.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2012-12-28 11:25:55 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2012-12-28 11:25:55 +0100
commit4ea70feb9ffbea364f3d8a50c7c019a13688f4a6 (patch)
tree98eeeb7c34b9105c60911a87baa351e3a81e941b /main/goffice0.8/use-apiver-for-dirs.patch
parent6633f5f2e86a53a5bac6eff65f9288e9761eea25 (diff)
downloadaports-4ea70feb9ffbea364f3d8a50c7c019a13688f4a6.tar.bz2
aports-4ea70feb9ffbea364f3d8a50c7c019a13688f4a6.tar.xz
main/goffice0.8: new aport
Abiword still requires gtk2, therefore it needs older goffice.
Diffstat (limited to 'main/goffice0.8/use-apiver-for-dirs.patch')
-rw-r--r--main/goffice0.8/use-apiver-for-dirs.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/goffice0.8/use-apiver-for-dirs.patch b/main/goffice0.8/use-apiver-for-dirs.patch
new file mode 100644
index 000000000..c925b399b
--- /dev/null
+++ b/main/goffice0.8/use-apiver-for-dirs.patch
@@ -0,0 +1,32 @@
+--- a/configure.in 2011-09-07 08:45:49.687783970 +0000
++++ b/configure.in 2011-09-07 09:12:55.709382840 +0000
+@@ -418,7 +418,7 @@
+ fi
+
+ dnl **************************************************
+-AC_SUBST(GETTEXT_PACKAGE, goffice-${VERSION})
++AC_SUBST(GETTEXT_PACKAGE, goffice-${GOFFICE_API_VER})
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
+ [The package name, for gettext])
+ AM_GLIB_GNU_GETTEXT
+@@ -638,9 +638,9 @@
+ dnl ******************
+ dnl
+ dnl These are changed in goffice.c for WIN32 packages
+-AC_SUBST(goffice_datadir, '${datadir}/goffice/${VERSION}')
+-AC_SUBST(goffice_libdir, '${libdir}/goffice/${VERSION}')
+-AC_SUBST(goffice_icondir, '${datadir}/pixmaps/goffice/${VERSION}')
++AC_SUBST(goffice_datadir, '${datadir}/goffice/${GOFFICE_API_VER}')
++AC_SUBST(goffice_libdir, '${libdir}/goffice/${GOFFICE_API_VER}')
++AC_SUBST(goffice_icondir, '${datadir}/pixmaps/goffice/${GOFFICE_API_VER}')
+ AC_SUBST(goffice_localedir, '${prefix}/${DATADIRNAME}/locale')
+ dnl
+ AC_SUBST(goffice_plugindir, '${goffice_libdir}/plugins')
+--- a/libgoffice.pc.in 2010-02-18 22:49:39.000000000 +0000
++++ b/libgoffice.pc.in 2011-09-07 09:18:53.655992532 +0000
+@@ -11,4 +11,4 @@
+ Libs.private: @EXTRA_LIBS@
+ Cflags: -I${includedir}/libgoffice-@GOFFICE_API_VER@ @EXTRA_INCLUDES@
+
+-PluginDir=${libdir}/goffice/@VERSION@/plugins
++PluginDir=${libdir}/goffice/@GOFFICE_API_VER@/plugins