aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-01 08:57:58 +0800
committerkris <kris@FreeBSD.org>2002-12-01 08:57:58 +0800
commit5df099468ff923d4e917bf6317589510a6c59ed9 (patch)
tree144f651ef4ffe84d7808b59da65b91f60611c5ae /x11
parentbc2560ee500dd76514bdc42b389cf904a7a6ac9b (diff)
downloadfreebsd-ports-gnome-5df099468ff923d4e917bf6317589510a6c59ed9.tar.gz
freebsd-ports-gnome-5df099468ff923d4e917bf6317589510a6c59ed9.tar.zst
freebsd-ports-gnome-5df099468ff923d4e917bf6317589510a6c59ed9.zip
Protect target with .if target(...) ... .endif for targets that are
redefined by a slave port.
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>