aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-03-17 16:44:11 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-03-17 16:44:11 +0000
commit869b5db5ee8bfc502884cda6218b87e7d24a5caf (patch)
tree381d177ac42135a44d940de6abfe73c0dd41b2a0
parentfbdb1126e50603db0d3cdf9d1530e0bcb0178a25 (diff)
downloadports-869b5db5ee8bfc502884cda6218b87e7d24a5caf.tar.gz
ports-869b5db5ee8bfc502884cda6218b87e7d24a5caf.zip
. 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.
Notes
Notes: svn path=/head/; revision=104309
-rw-r--r--java/diablo-jdk13/pkg-install7
-rw-r--r--java/diablo-jre13/pkg-install7
2 files changed, 12 insertions, 2 deletions
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