summaryrefslogtreecommitdiff
path: root/x11/mate-applets/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11/mate-applets/files/patch-configure.ac')
-rw-r--r--x11/mate-applets/files/patch-configure.ac55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11/mate-applets/files/patch-configure.ac b/x11/mate-applets/files/patch-configure.ac
new file mode 100644
index 000000000000..d54ad27bd730
--- /dev/null
+++ b/x11/mate-applets/files/patch-configure.ac
@@ -0,0 +1,55 @@
+--- configure.ac.orig 2013-03-26 21:00:43.000000000 -0500
++++ configure.ac 2013-03-26 21:06:27.000000000 -0500
+@@ -349,7 +349,7 @@
+ GETTEXT_PACKAGE=mate-applets
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
+-AC_DEFINE_DIR(MATELOCALEDIR, "${datadir}/locale", [locale directory])
++AC_DEFINE_DIR(MATELOCALEDIR, [localedir], [locale directory])
+ AM_GLIB_GNU_GETTEXT
+
+ # this is the directory where the *.{mo,gmo} files are installed
+@@ -390,8 +390,8 @@
+ AC_CHECK_LIB(apm,apm_read,[HAVE_LIBAPM=yes],[HAVE_LIBAPM=no])
+ ;;
+ # list of supported OS cores that do not use libapm
+- i386-*-freebsd*|*-*-netbsd*|*-*-openbsd*|*-*kfreebsd*-gnu)
+- if [ -n "${OS_SYS}" ]; then
++ i386-*-freebsd*|amd64-*-freebsd*|*-*-netbsd*|*-*-openbsd*|*-*kfreebsd*-gnu)
++ if test -n "${OS_SYS}" ; then
+ ACPIINC="-I${OS_SYS}"
+ else
+ ACPIINC="-I/usr/src/sys"
+@@ -521,6 +521,9 @@
+ *linux*)
+ build_cpufreq_applet=yes
+ ;;
++ i386-*-freebsd*|amd64-*-freebsd*)
++ build_cpufreq_applet=yes
++ ;;
+ *)
+ AC_MSG_WARN([${host} is not supported by cpufreq applet, not building])
+ build_cpufreq_applet=no
+@@ -623,14 +626,14 @@
+ builderdir="${pkgdatadir}/builder"
+ AC_SUBST(builderdir)
+
+-AC_DEFINE_DIR(MATE_ICONDIR, "${iconsdir}", [Mate Icon Directory])
+-AC_DEFINE_DIR(MATE_PIXMAPSDIR, "${pixmapsdir}", [Mate Pixmaps Directory])
+-AC_DEFINE_DIR(PKGDATADIR, "${pkgdatadir}", [Mate Applets Directory])
+-AC_DEFINE_DIR(GTK_BUILDERDIR, "${builderdir}", [GtkBuilder Resources Directory])
+-AC_DEFINE_DIR(DATADIR, "${datadir}", [datadir])
+-AC_DEFINE_DIR(SYSCONFDIR, "${sysconfdir}", [sysconfdir])
+-AC_DEFINE_DIR(LIBDIR, "${libdir}", [libdir])
+-AC_DEFINE_DIR(PREFIX, "$prefix", [install prefix])
++AC_DEFINE_DIR(MATE_ICONDIR, [iconsdir], [Mate Icon Directory])
++AC_DEFINE_DIR(MATE_PIXMAPSDIR, [pixmapsdir], [Mate Pixmaps Directory])
++AC_DEFINE_DIR(PKGDATADIR, [pkgdatadir], [Mate Applets Directory])
++AC_DEFINE_DIR(GTK_BUILDERDIR, [builderdir], [GtkBuilder Resources Directory])
++AC_DEFINE_DIR(DATADIR, [datadir], [datadir])
++AC_DEFINE_DIR(SYSCONFDIR, [sysconfdir], [sysconfdir])
++AC_DEFINE_DIR(LIBDIR, [libdir], [libdir])
++AC_DEFINE_DIR(PREFIX, [prefix], [install prefix])
+
+ AS_AC_EXPAND(DATADIR, "${datadir}")
+ AS_AC_EXPAND(PYTHONDIR, $pythondir)