ports/x11/gnome-terminal/files/patch-configure.ac
Joe Marcus Clarke d3ae165bf8 Add support for reading a terminal's cwd on recent versions of FreeBSD.
This allows one to open a new tab or terminal from an existing terminal,
and inherit the cwd in the new tab/terminal.
2009-05-03 19:57:43 +00:00

13 lines
578 B
Text

--- configure.ac.orig 2009-05-03 15:25:26.000000000 -0400
+++ configure.ac 2009-05-03 15:26:34.000000000 -0400
@@ -96,6 +96,10 @@ AC_SUBST([GLIB_GENMARSHAL])
GLIB_MKENUMS="$($PKG_CONFIG --variable=glib_mkenums glib-2.0)"
AC_SUBST([GLIB_MKENUMS])
+AC_CHECK_LIB(util, kinfo_getfile,
+ [LIBS="${LIBS} -lutil"
+ AC_DEFINE(HAVE_KINFO_GETFILE, 1, [Define if you have the kinfo_getfile function])], [:])
+
AC_PATH_PROG([GTK_BUILDER_CONVERT],[gtk-builder-convert],[false])
if test "$GTK_BUILDER_CONVERT" = "false"; then
AC_MSG_ERROR([gtk-builder-convert not found])