summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-12-03 04:22:41 +0000
committermarcus <marcus@FreeBSD.org>2002-12-03 04:22:41 +0000
commit6f6a690e33c8272eb5e7a18bfbcf39d6b69d1123 (patch)
treec7d34d90dba54e74a70297f2eeb30fd911dfda8c
parent82d1384bbb23a0d0debd0c52a9ea804fc0d412b2 (diff)
downloadFreeBSD-ports-6f6a690e33c8272eb5e7a18bfbcf39d6b69d1123.zip
FreeBSD-ports-6f6a690e33c8272eb5e7a18bfbcf39d6b69d1123.tar.gz
Make sure that gnome-pty-helper is installed setuid to root. This fixes
a bug where commands like mesg would fail in gnome-terminal. Approved by: portmgr (kris)
-rw-r--r--x11-toolkits/libzvt/Makefile1
-rw-r--r--x11-toolkits/libzvt/files/patch-configure19
2 files changed, 14 insertions, 6 deletions
diff --git a/x11-toolkits/libzvt/Makefile b/x11-toolkits/libzvt/Makefile
index d201a61..93c78b5 100644
--- a/x11-toolkits/libzvt/Makefile
+++ b/x11-toolkits/libzvt/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libzvt
PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES= x11-toolkits gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
diff --git a/x11-toolkits/libzvt/files/patch-configure b/x11-toolkits/libzvt/files/patch-configure
index e2e4f4b..4ad2981 100644
--- a/x11-toolkits/libzvt/files/patch-configure
+++ b/x11-toolkits/libzvt/files/patch-configure
@@ -1,9 +1,6 @@
-
-$FreeBSD$
-
---- configure 2002/04/26 13:00:17 1.1
-+++ configure 2002/04/26 13:01:55
-@@ -6884,6 +6884,7 @@
+--- configure.orig Sat Nov 30 21:07:06 2002
++++ configure Sat Nov 30 21:07:31 2002
+@@ -7115,6 +7115,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -11,3 +8,13 @@ $FreeBSD$
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -8339,6 +8340,9 @@
+ case "$host" in
+ *-*-darwin*)
+ PTY_HELPER_GID=admin
++ ;;
++ *-*-freebsd*)
++ PTY_HELPER_GID=wheel
+ ;;
+ esac
+
OpenPOWER on IntegriCloud