[22112] trunk/dports/devel/cscope

source_changes at macosforge.org source_changes at macosforge.org
Sat Feb 17 15:09:48 PST 2007


Revision: 22112
          http://trac.macosforge.org/projects/macports/changeset/22112
Author:   mww at macports.org
Date:     2007-02-17 15:09:48 -0800 (Sat, 17 Feb 2007)

Log Message:
-----------
version 15.6, depend on our own ncurses

Modified Paths:
--------------
    trunk/dports/devel/cscope/Portfile

Added Paths:
-----------
    trunk/dports/devel/cscope/files/patch-constants.h

Removed Paths:
-------------
    trunk/dports/devel/cscope/files/patch-constants.h.diff
    trunk/dports/devel/cscope/files/patch-src__egrep.y

Modified: trunk/dports/devel/cscope/Portfile
===================================================================
--- trunk/dports/devel/cscope/Portfile	2007-02-17 22:05:05 UTC (rev 22111)
+++ trunk/dports/devel/cscope/Portfile	2007-02-17 23:09:48 UTC (rev 22112)
@@ -3,10 +3,10 @@
 PortSystem 1.0
 
 name		cscope
-version		15.5
+version		15.6
 categories	devel
 platforms	darwin freebsd
-maintainers	mww at opendarwin.org
+maintainers	mww at macports.org
 description	development tool for browsing source code
 long_description	Cscope is a developer's tool for browsing source code. \
 			It has an impeccable Unix pedigree, having been \
@@ -17,16 +17,13 @@
 
 homepage	http://cscope.sourceforge.net/
 master_sites	sourceforge
-checksums	md5 beb6032a301bb11524aec74bfb5e4840
+checksums	sha1 f5f73dca1f223cf6905c09a7f0e8eb993fa5fd93
 
-patchfiles	patch-src__egrep.y
+patchfiles	patch-constants.h
 
-configure.args	--mandir=${prefix}/share/man
+depends_lib	port:ncurses
 
-variant darwin {
-	patchfiles-append	patch-constants.h.diff
-	configure.args-append	--with-flex
-}
+configure.args	--mandir=${prefix}/share/man --with-flex --with-ncurses=${prefix}
 
 post-destroot	{
 	system "strip ${destroot}${prefix}/bin/cscope"

Added: trunk/dports/devel/cscope/files/patch-constants.h
===================================================================
--- trunk/dports/devel/cscope/files/patch-constants.h	                        (rev 0)
+++ trunk/dports/devel/cscope/files/patch-constants.h	2007-02-17 23:09:48 UTC (rev 22112)
@@ -0,0 +1,17 @@
+--- src/constants.h	2006-09-30 10:13:00.000000000 +0200
++++ src/constants.h	2007-02-18 00:01:30.000000000 +0100
+@@ -121,6 +121,7 @@
+ #  define	KEY_BACKSPACE	0402
+ # endif
+ 
++#ifndef __APPLE__
+ # if !sun
+ #  define cbreak()	crmode()			/* name change */
+ # endif
+@@ -133,5 +134,6 @@
+ #  define killchar()  (_tty.sg_kill)			/* equivalent */
+ # endif /* if UNIXPC */
+ #endif	/* if !TERMINFO */
++#endif
+ 
+ #endif /* CSCOPE_CONSTANTS_H */

Deleted: trunk/dports/devel/cscope/files/patch-constants.h.diff
===================================================================
--- trunk/dports/devel/cscope/files/patch-constants.h.diff	2007-02-17 22:05:05 UTC (rev 22111)
+++ trunk/dports/devel/cscope/files/patch-constants.h.diff	2007-02-17 23:09:48 UTC (rev 22112)
@@ -1,21 +0,0 @@
---- src/constants.h	Thu Sep  4 17:54:02 2003
-+++ src/constants.h.new	Wed Dec 17 22:52:39 2003
-@@ -114,18 +114,6 @@
- #define	KEY_BACKSPACE	0402
- #endif
- 
--#if !sun
--#define cbreak()	crmode()			/* name change */
--#endif
--
--#if UNIXPC
--#define	erasechar()	(_tty.c_cc[VERASE])		/* equivalent */
--#define	killchar()	(_tty.c_cc[VKILL])		/* equivalent */
--#else
--#define	erasechar()	(_tty.sg_erase)			/* equivalent */
--#define	killchar()	(_tty.sg_kill)			/* equivalent */
--#endif	/* if UNIXPC */
--
- #endif	/* if !TERMINFO */
- #endif	/* ifndef __FreeBSD__ */
- 

Deleted: trunk/dports/devel/cscope/files/patch-src__egrep.y
===================================================================
--- trunk/dports/devel/cscope/files/patch-src__egrep.y	2007-02-17 22:05:05 UTC (rev 22111)
+++ trunk/dports/devel/cscope/files/patch-src__egrep.y	2007-02-17 23:09:48 UTC (rev 22112)
@@ -1,28 +0,0 @@
---- src/egrep.y.orig	2005-04-14 19:02:52.000000000 -0400
-+++ src/egrep.y	2005-04-14 19:03:00.000000000 -0400
-@@ -603,25 +603,6 @@
- 	return(0);
- }
- 
--/* FIXME HBB: should export this to a separate file and use
-- * AC_REPLACE_FUNCS() */
--#if BSD
--/*LINTLIBRARY*/
--/*
-- * Set an array of n chars starting at sp to the character c.
-- * Return sp.
-- */
--char *
--memset(char *sp, char c, int n)
--{
--	char *sp0 = sp;
--
--	while (--n >= 0)
--		*sp++ = c;
--	return (sp0);
--}
--#endif
--
- void
- egrepcaseless(int i)
- {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070217/6c51bb1a/attachment.html


More information about the macports-changes mailing list