Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 04:08:58 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/22810: Update port: deskutils/xinvest to 2.6
Message-ID:  <20001113120858.BA3B737B479@hub.freebsd.org>

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

>Number:         22810
>Category:       ports
>Synopsis:       Update port: deskutils/xinvest to 2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 13 04:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.6

New file:
files/patch-ad  files/patch-ae

Remove file:
files/patch-aa  files/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/deskutils/xinvest/Makefile deskutils/xinvest/Makefile
--- /usr/ports/deskutils/xinvest/Makefile	Wed Nov  8 21:23:32 2000
+++ deskutils/xinvest/Makefile	Sun Nov 12 15:55:29 2000
@@ -6,22 +6,20 @@
 #
 
 PORTNAME=	xinvest
-PORTVERSION=	2.5.1
+PORTVERSION=	2.6
 CATEGORIES=	deskutils
-MASTER_SITES=	http://sunsite.auc.dk/xinvest/	\
-		${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES=	http://sunsite.auc.dk/xinvest/
+MASTER_SITE_SUBDIR=	applications
 
 MAINTAINER=	ports@FreeBSD.org
 
 USE_MOTIF=	yes
 USE_IMAKE=	yes
-USE_XPM=	yes
 NO_INSTALL_MANPAGES=	yes
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/examples/Xinvest
+	@${MKDIR} ${PREFIX}/share/examples/Xinvest
 	${INSTALL_DATA} ${WRKSRC}/samples/*.inv ${PREFIX}/share/examples/Xinvest
 .endif
 
diff -urN /usr/ports/deskutils/xinvest/distinfo deskutils/xinvest/distinfo
--- /usr/ports/deskutils/xinvest/distinfo	Mon Nov 17 19:11:29 1997
+++ deskutils/xinvest/distinfo	Sun Nov 12 14:57:37 2000
@@ -1 +1 @@
-MD5 (xinvest-2.5.1.tar.gz) = 7805a2b99985907bd32ca4d191a9b461
+MD5 (xinvest-2.6.tar.gz) = 41b3dd9d62a2ed933209eac975d60f7d
diff -urN /usr/ports/deskutils/xinvest/files/patch-aa deskutils/xinvest/files/patch-aa
--- /usr/ports/deskutils/xinvest/files/patch-aa	Mon Nov 17 19:11:29 1997
+++ deskutils/xinvest/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- util.h.orig	Tue Sep 23 01:50:46 1997
-+++ util.h	Mon Nov 17 11:03:20 1997
-@@ -52,7 +52,7 @@
- int strncasecmp (char *, char *, int);
- #endif 
- 
--#if defined(__FreeBSD__) || defined (__sgi)
-+#if defined (__sgi)
- char *strptime ( char *, char *, struct tm *);
- #endif
- 
diff -urN /usr/ports/deskutils/xinvest/files/patch-ab deskutils/xinvest/files/patch-ab
--- /usr/ports/deskutils/xinvest/files/patch-ab	Mon Nov 17 19:11:29 1997
+++ deskutils/xinvest/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- util.c.orig	Tue Sep 23 01:50:42 1997
-+++ util.c	Mon Nov 17 11:06:50 1997
-@@ -239,9 +239,9 @@
- #endif
- 
- 
--#if defined(__FreeBSD__) || defined (NEED_STRPTIME)
-+#if defined (NEED_STRPTIME)
- 
--/* Weird, FreeBSD and IRIX 5 don't have this, but do have strftime. 
-+/* Weird, IRIX 5 doesn't have this, but do have strftime. 
- ** This is a crippled implementation, only supporting the formats
- ** actually used in the rest of Xinvest.  Note that the return _value_
- ** does not conform to the man page either.
diff -urN /usr/ports/deskutils/xinvest/files/patch-ac deskutils/xinvest/files/patch-ac
--- /usr/ports/deskutils/xinvest/files/patch-ac	Mon Oct 30 23:32:15 2000
+++ deskutils/xinvest/files/patch-ac	Sun Nov 12 15:02:33 2000
@@ -1,16 +1,16 @@
---- Imakefile.orig	Tue Sep 23 08:50:46 1997
-+++ Imakefile	Thu Oct 26 03:46:58 2000
+--- Imakefile.orig	Sat Feb  5 07:59:08 2000
++++ Imakefile	Sun Nov 12 15:02:20 2000
 @@ -11,7 +11,7 @@
  
  DEFINES = -DSHAPE
  INCLUDES = -I$(INCROOT)/X11
 -SYS_LIBRARIES = -lXm -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm
-+SYS_LIBRARIES = -lXm -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm ${MOTIFLIB}
++SYS_LIBRARIES = ${MOTIFLIB} -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm
  DEPLIBS = 
  
  SRCS =	account.c askuser.c calendar.c color.c drawing.c \
 @@ -25,5 +25,5 @@
- 	util.o xinvest.o xutil.o
+ 	tooltips.o trans.o util.o xinvest.o xutil.o
  
  
 -ComplexProgramTarget(Xinvest)
diff -urN /usr/ports/deskutils/xinvest/files/patch-ad deskutils/xinvest/files/patch-ad
--- /usr/ports/deskutils/xinvest/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ deskutils/xinvest/files/patch-ad	Sun Nov 12 15:10:16 2000
@@ -0,0 +1,11 @@
+--- color.c.orig	Sat Feb  5 07:59:05 2000
++++ color.c	Sun Nov 12 15:09:23 2000
+@@ -25,7 +25,7 @@
+ 
+ #include <stdio.h>
+ 
+-#if !defined(__NetBSD__)
++#if !defined(__NetBSD__) && !defined(__FreeBSD__)
+ #include <values.h>
+ #endif
+ 
diff -urN /usr/ports/deskutils/xinvest/files/patch-ae deskutils/xinvest/files/patch-ae
--- /usr/ports/deskutils/xinvest/files/patch-ae	Thu Jan  1 09:00:00 1970
+++ deskutils/xinvest/files/patch-ae	Sun Nov 12 15:10:04 2000
@@ -0,0 +1,11 @@
+--- portfolio.c.orig	Sat Feb  5 07:59:06 2000
++++ portfolio.c	Sun Nov 12 15:09:56 2000
+@@ -29,7 +29,7 @@
+ #include <string.h>
+ #include <math.h>
+ 
+-#if !defined(NeXT) && !defined(__NetBSD__)
++#if !defined(NeXT) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+ #include <values.h>
+ #endif
+ 


>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?20001113120858.BA3B737B479>