aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-04-08 00:32:36 +0800
committermarcus <marcus@FreeBSD.org>2002-04-08 00:32:36 +0800
commit696618bb7a119a7cf6f65ecbc3bb5f7735291277 (patch)
treef8dda5e9cb9d6ed45317dc0a7068209f2efeaec7 /net-mgmt
parent955e953a939bc7a3dbbb84e4aa74fe865da33596 (diff)
downloadfreebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.tar.gz
freebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.tar.zst
freebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.zip
Take advantage of USE_JAVA from bsd.java.mk.
Reviewed by: sobomax Approved by: sobomax
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/confregdecode/Makefile6
-rw-r--r--net-mgmt/confregdecode/files/patch-ab21
2 files changed, 20 insertions, 7 deletions
diff --git a/net-mgmt/confregdecode/Makefile b/net-mgmt/confregdecode/Makefile
index d799ca935fb0..ab4f29ed3892 100644
--- a/net-mgmt/confregdecode/Makefile
+++ b/net-mgmt/confregdecode/Makefile
@@ -14,11 +14,9 @@ DISTNAME= confregdecode-src-${PORTVERSION}
MAINTAINER= marcus@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
-RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk \
- ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
-
+USE_JAVA= 1.1+
ALL_TARGET= jar
+MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
do-install:
@${MKDIR} ${PREFIX}/share/java
diff --git a/net-mgmt/confregdecode/files/patch-ab b/net-mgmt/confregdecode/files/patch-ab
index 9cf991e812af..f0cf9affc5f0 100644
--- a/net-mgmt/confregdecode/files/patch-ab
+++ b/net-mgmt/confregdecode/files/patch-ab
@@ -1,6 +1,21 @@
---- Makefile.orig Thu May 31 16:08:05 2001
-+++ Makefile Sat Jun 2 23:35:58 2001
-@@ -12,8 +12,8 @@
+
+$FreeBSD$
+
+--- Makefile.orig Thu May 31 09:08:05 2001
++++ Makefile Sat Apr 6 18:50:09 2002
+@@ -3,17 +3,17 @@
+ # $Id: Makefile,v 1.1 2001/05/25 04:33:46 jmarcus Exp $
+ #
+
+-JAVAC= /usr/local/jdk1.1.8/bin/javac
+-JAVAC_FLAGS= -O -g
+-JAR= /usr/local/jdk1.1.8/bin/jar
++JAVAC?= /usr/local/jdk1.1.8/bin/javac
++JAVAC_FLAGS?= -O -g
++JAR?= /usr/local/jdk1.1.8/bin/jar
+ RM= /bin/rm
+
+ all:
$(JAVAC) $(JAVAC_FLAGS) com/marcuscom/confregdecode/ConfregDecode.java
jar: all