Bug 7045 - Fixed port: guavac
Summary: Fixed port: guavac
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-06-24 14:30 UTC by Nakai
Modified: 1998-07-12 23:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nakai 1998-06-24 14:30:02 UTC
I have fixed the guavac port to follow its latest version.
guavac-1.0 -> guavac-1.2

Guavac is the GNU java Compiler.
Please enjoy..

Yukihiro Nakai
--------------
diff -ruN guavac.orig/Makefile guavac/Makefile
--- guavac.orig/Makefile	Wed Jun 24 21:57:42 1998
+++ guavac/Makefile	Wed Jun 24 19:20:26 1998
@@ -1,23 +1,31 @@
 # New ports collection makefile for:   guavac
-# Version required:    1.0
+# Version required:    1.2
 # Date created:        10 October 1996
 # Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
 #
 # $Id: Makefile,v 1.6 1997/11/14 10:20:25 tg Exp $
 #
 
-DISTNAME=	guavac-1.0
+DISTNAME=	guavac-1.2
 CATEGORIES=	lang
 MASTER_SITES=	ftp://summit.stanford.edu/pub/guavac/ \
 		ftp://ftp.Germany.EU.net/pub/programming/languages/java/guavac/\
 		ftp://sunsite.mff.cuni.cz/Languages/Java/guavac/
 
-MAINTAINER=	Nakai@Mlab.t.u-tokyo.ac.jp
+MAINTAINER=	Nakai@technologist.com
+
+CC=		gcc28
+CXX=		g++28
+GNUOSREL!=	uname -r | sed -e 's/[-(].*//'
+LIB_DEPENDS=	${LOCALBASE}/i386-unknown-freebsd${GNUOSREL}/lib/libiberty.a:${PORTSDIR}/lang/glibstdc++28
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 MAN1=		guavac.1
 STRIP=
+
+pre-install:
+	@chmod +x ${WRKSRC}/mkinstalldirs
 
 post-install:
 	@strip ${PREFIX}/bin/guavac ${PREFIX}/bin/guavad
diff -ruN guavac.orig/files/md5 guavac/files/md5
--- guavac.orig/files/md5	Wed Jun 24 21:57:42 1998
+++ guavac/files/md5	Wed Jun 24 18:58:34 1998
@@ -1 +1 @@
-MD5 (guavac-1.0.tar.gz) = d5456f8a90e66c5727e9a606b00fdfdd
+MD5 (guavac-1.2.tar.gz) = 06b7391584fc6b22db7f16fc0a2f9b3e
diff -ruN guavac.orig/patches/patch-ae guavac/patches/patch-ae
--- guavac.orig/patches/patch-ae	Wed Jun 24 21:57:42 1998
+++ guavac/patches/patch-ae	Wed Jun 24 19:02:11 1998
@@ -1,10 +1,8 @@
-*** common/string.h.orig	Sat Jan 13 18:40:28 1996
---- common/string.h	Thu Jun 12 10:49:44 1997
-***************
-*** 5,8 ****
---- 5,9 ----
-  #ifndef __SINST__
-  #define __SINST__
-  #endif
-+ #include_next <string.h>	// Get missing memmove() prototype for libg++
-  #include <string>
+--- common/cppstring.h.orig	Wed Jun 24 19:00:48 1998
++++ common/cppstring.h	Wed Jun 24 19:01:49 1998
+@@ -8,4 +8,5 @@
+ #endif
+ #endif
+ 
++#include_next <string.h>
+ #include <string>
diff -ruN guavac.orig/pkg/PLIST guavac/pkg/PLIST
--- guavac.orig/pkg/PLIST	Wed Jun 24 21:57:42 1998
+++ guavac/pkg/PLIST	Wed Jun 24 19:22:47 1998
@@ -1,6 +1,6 @@
+bin/gcok
 bin/guavac
 bin/guavad
-bin/gcok
 man/man1/guavac.1.gz
 share/guavac/classes.zip
 @dirrm share/guavac
Comment 1 Steve Price freebsd_committer freebsd_triage 1998-07-12 23:32:49 UTC
State Changed
From-To: open->closed

Update committed, thanks.