From 869b5db5ee8bfc502884cda6218b87e7d24a5caf Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Wed, 17 Mar 2004 16:44:11 +0000 Subject: . Try to make things non-interactive when building on bento. Works for me, but failed when kris tried the patch on bento. I can't figure out why, but maybe someone looking at this will have a clue. --- java/diablo-jdk13/pkg-install | 7 ++++++- java/diablo-jre13/pkg-install | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'java') diff --git a/java/diablo-jdk13/pkg-install b/java/diablo-jdk13/pkg-install index 5f5f3110aa03..9d4279fd62c3 100644 --- a/java/diablo-jdk13/pkg-install +++ b/java/diablo-jdk13/pkg-install @@ -1,9 +1,14 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/java/diablo-jdk13/Attic/pkg-install,v 1.1 2003-08-25 16:54:36 glewis Exp $ +# $FreeBSD: /tmp/pcvs/ports/java/diablo-jdk13/Attic/pkg-install,v 1.2 2004-03-17 16:44:11 glewis Exp $ # Set up a standard path PATH=/usr/bin:/bin +# Hack to prevent licensing from breaking bento. +if [ "x${PACKAGE_BUILDING}" != "x" ]; then + exit 0 +fi + # Attempt to install a link for the browser plugin during post-install if [ "$2" = "POST-INSTALL" ]; then # Plugin location variables diff --git a/java/diablo-jre13/pkg-install b/java/diablo-jre13/pkg-install index f3d91128cc49..51e7097a2c4b 100644 --- a/java/diablo-jre13/pkg-install +++ b/java/diablo-jre13/pkg-install @@ -1,9 +1,14 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/java/diablo-jre13/Attic/pkg-install,v 1.1 2003-08-25 16:53:03 glewis Exp $ +# $FreeBSD: /tmp/pcvs/ports/java/diablo-jre13/Attic/pkg-install,v 1.2 2004-03-17 16:44:11 glewis Exp $ # Set up a standard path PATH=/usr/bin:/bin +# Hack to prevent licensing from breaking bento. +if [ "x${PACKAGE_BUILDING}" != "x" ]; then + exit 0 +fi + # Attempt to install a link for the browser plugin during post-install if [ "$2" = "POST-INSTALL" ]; then # Plugin location variables -- cgit v1.2.3