Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2002 16:06:59 -0700 (PDT)
From:      John Merryweather Cooper <coop9211@uidaho.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41986: [MAINTAINER UPDATE] Update jgant to use USE_JAVA
Message-ID:  <200208242306.g7ON6xoa043623@pc016247.reshall.uidaho.edu>

next in thread | raw e-mail | index | archive | help

>Number:         41986
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Update jgant to use USE_JAVA
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 24 16:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD PC016247.reshall.uidaho.edu 4.6-STABLE FreeBSD 4.6-STABLE #34: Thu Aug 22 19:34:48 PDT 2002 root@PC016247.reshall.uidaho.edu:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	Modify jgnat to use USE_JAVA.  Since this fundamentally alters the
	build dependencies, a PORTVERSION increment is appropriate.

>How-To-Repeat:
	N/A

>Fix:


--- update-jgnat-1.1.p_2 begins here ---
# This is a patch for jgnat to update it to jgnat-1.1.p_2
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####

#### Patch data follows ####
diff -u 'jgnat/Makefile' 'jgnat-1.1.p_2/Makefile'
Index: ./Makefile
--- ./Makefile	Wed Jun 19 16:49:01 2002
+++ ./Makefile	Sat Aug 24 15:59:30 2002
@@ -2,12 +2,12 @@
 # Date created:         8 Apr 2000
 # Whom:                 Samuel Tardieu <sam@inf.enst.fr>
 #
-# $FreeBSD: ports/lang/jgnat/Makefile,v 1.6 2002/06/16 01:54:06 glewis Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	jgnat
 PORTVERSION=	1.1.p
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang java
 MASTER_SITES=	ftp://cs.nyu.edu/pub/gnat/jgnat/jgnat-1.1p/split-1.1p/ \
 		ftp://ftp.cdrom.com/pub/languages/ada/compiler/gnat/jgnat/jgnat-1.1p/split-1.1p/ \
@@ -21,12 +21,12 @@
 DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.([^\.]+)$/\1/}-src
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	jmcoopr@webmail.bmi.net
+MAINTAINER=	coop9211@uidaho.edu
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/adagcc:${PORTSDIR}/lang/gnat \
-		${LOCALBASE}/jdk1.2.2/bin/javac:${PORTSDIR}/java/jdk12
+BUILD_DEPENDS=	${LOCALBASE}/bin/adagcc:${PORTSDIR}/lang/gnat
 
 USE_GMAKE=	yes
+USE_JAVA=	1.2+
 
 WRKSRC=		${WRKDIR}/${DISTNAME:C@-([^\-]+)$@/\1@}
 
diff -u 'jgnat/files/patch-aa' 'jgnat-1.1.p_2/files/patch-aa'
Index: ./files/patch-aa
--- ./files/patch-aa	Fri Oct 26 12:10:11 2001
+++ ./files/patch-aa	Sat Aug 24 15:48:07 2002
@@ -22,14 +22,14 @@
     LIB_FLAGS  = -O  -gnatgp -gnata
     STRIP      = -s
 -   JAR        = jar c0f
-+   JAR        = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
++   JAR        = $(JAVA_HOME)/bin/jar c0f
  else
     C_FLAGS    = -O
     TOOL_FLAGS = -g -O -gnatgpa
     LIB_FLAGS  = -g -O -gnatgpa
     STRIP      =
 -   JAR        = jar c0f
-+   JAR        = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
++   JAR        = $(JAVA_HOME)/bin/jar c0f
  endif
  
  #################################
@@ -45,7 +45,7 @@
  # JGNAT compiler to build the Ada part of the JGNAT library
  
 -JAVAC = javac -deprecation -classpath $(LIB)$(JDK11_LIB)
-+JAVAC = $(LOCALBASE)/jdk1.2.2/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
++JAVAC = $(JAVA_HOME)/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
  # The Java compiler to build the Java part of the JGNAT library
  
  ###########################################
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Sat Aug 24 16:03:21 2002
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile' 1903 1030229970 0100644
# p 'files/patch-aa' 2166 1030229287 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Sat Aug 24 16:03:21 2002] ####
#### Checksum: 95 3188 32553 ####
--- update-jgnat-1.1.p_2 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208242306.g7ON6xoa043623>