aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-libs/Makefile2
-rw-r--r--x11/gnomelibs/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile
index 143e8bdfa7ec..5506f95e18a3 100644
--- a/x11/gnome-libs/Makefile
+++ b/x11/gnome-libs/Makefile
@@ -47,7 +47,9 @@ post-patch:
${WRKSRC}/gnome-config.in ${WRKSRC}/libgnome/gnome-util.c
# need to make launched gnome-terminals appear in utmp/wtmp
+.if !target(post-install)
post-install:
@${CHMOD} u+s ${PREFIX}/bin/gnome-pty-helper
+.endif
.include <bsd.port.mk>
diff --git a/x11/gnomelibs/Makefile b/x11/gnomelibs/Makefile
index 143e8bdfa7ec..5506f95e18a3 100644
--- a/x11/gnomelibs/Makefile
+++ b/x11/gnomelibs/Makefile
@@ -47,7 +47,9 @@ post-patch:
${WRKSRC}/gnome-config.in ${WRKSRC}/libgnome/gnome-util.c
# need to make launched gnome-terminals appear in utmp/wtmp
+.if !target(post-install)
post-install:
@${CHMOD} u+s ${PREFIX}/bin/gnome-pty-helper
+.endif
.include <bsd.port.mk>