Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2005 19:57:32 -0800 (PST)
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90633: [MAINTAINER] update sysutils/portmanager
Message-ID:  <20051219035733.4342CBAB3@FreeBSD70.mechee.com>
Resent-Message-ID: <200512190440.jBJ4e24X090100@freefall.freebsd.org>

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

>Number:         90633
>Category:       ports
>Synopsis:       [MAINTAINER] update sysutils/portmanager
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 19 04:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Michael C. Shultz <ringworm01@gmail.com>
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD FreeBSD70.mechee.com 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Dec 17 10:16:14 PST 2005 mike@FreeBSD70.mechee.com:/usr/obj/usr/src/sys/FREEBSD70 i386

>Description:

	update sysutils/portmanager to 0.4.1_2

	Ports like gostscript-gnu that insist on blue screening during make instead of
	make config have their video scrambled.  Fixed by adding TERM= back to environment 
	during make.

	Note to comitter:  adds patch-0.4.1_2 to files

>How-To-Repeat:

	N/A

>Fix:

--- portmanager-0.4.1_2.diff begins here ---
diff -ruN portmanager-ORIG/Makefile portmanager/Makefile
--- portmanager-ORIG/Makefile	Sun Dec 18 17:39:44 2005
+++ portmanager/Makefile	Sun Dec 18 17:40:33 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	portmanager
 PORTVERSION=	0.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://portmanager.sunsite.dk/distfiles/ \
 		${MASTER_SITE_SOURCEFORGE}
diff -ruN portmanager-ORIG/files/patch-0.4.1_2 portmanager/files/patch-0.4.1_2
--- portmanager-ORIG/files/patch-0.4.1_2	Wed Dec 31 16:00:00 1969
+++ portmanager/files/patch-0.4.1_2	Sun Dec 18 17:34:26 2005
@@ -0,0 +1,52 @@
+diff -ruN ../0.4.1_1/libMGPM/src/MGPMrUpdate.c ./libMGPM/src/MGPMrUpdate.c
+--- ../0.4.1_1/libMGPM/src/MGPMrUpdate.c	Sat Dec 17 20:06:52 2005
++++ ./libMGPM/src/MGPMrUpdate.c	Sun Dec 18 18:06:47 2005
+@@ -983,30 +983,34 @@
+ 	env[0]	= malloc( MAXSTRINGSIZE );
+ 	env[1]	= malloc( MAXSTRINGSIZE );
+ 	env[2]	= malloc( MAXSTRINGSIZE );
+-	env[3]	= 0;
++	env[3]	= malloc( MAXSTRINGSIZE );
++	env[4]	= 0;
+ 
+ 	/*
+ 	 * setup environment
+ 	 */
+ 	MGmStrcpy( env[0], "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" );
+ 
++	MGmStrcpy( env[1], "TERM=" );
++	MGmStrcat( env[1], getenv( "TERM" ) );
++
+ 	if( getenv( "CCACHE_DIR" ) != NULL )
+ 	{
+-		MGmStrcpy( env[1], "CCACHE_DIR=" );
+-		MGmStrcat( env[1], getenv( "CCACHE_DIR" ) );
++		MGmStrcpy( env[2], "CCACHE_DIR=" );
++		MGmStrcat( env[2], getenv( "CCACHE_DIR" ) );
+ 	}
+ 	else
+ 	{
+-		env[1][0]	= 0;
++		env[2][0]	= 0;
+ 	}
+ 
+ 	if( getenv( "CCACHE_PATH" ) != NULL )
+ 	{
+-		MGmStrcpy( env[2], "CCACHE_PATH=/usr/bin:/usr/local/bin" );
++		MGmStrcpy( env[3], "CCACHE_PATH=/usr/bin:/usr/local/bin" );
+ 	}
+ 	else
+ 	{
+-		env[2][0]	= 0;
++		env[3][0]	= 0;
+ 	}
+ 
+ 	if( MGrStrlen( localProperty.options ) > 0 )
+@@ -1080,6 +1084,7 @@
+ 	free( env[0] );
+ 	free( env[1] );
+ 	free( env[2] );
++	free( env[3] );
+ 	free( env );
+ 
+ 	/************************************************************************/
--- portmanager-0.4.1_2.diff ends here ---


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



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