summaryrefslogtreecommitdiff
path: root/ports-mgmt/portmanager
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-12-19 11:36:28 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-12-19 11:36:28 +0000
commite9098e360682ee2114eef61cd375eac0b7ee4a32 (patch)
tree40e96c44b165383bcdcc281356f3152fca8ee1ff /ports-mgmt/portmanager
parentUpdate to 1.1.4. (diff)
Ports like ghostscript-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. PR: ports/90633 Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=151554
Diffstat (limited to 'ports-mgmt/portmanager')
-rw-r--r--ports-mgmt/portmanager/Makefile2
-rw-r--r--ports-mgmt/portmanager/files/patch-0.4.1_252
2 files changed, 53 insertions, 1 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile
index b3f1d749e7a2..a3d337c9454a 100644
--- a/ports-mgmt/portmanager/Makefile
+++ b/ports-mgmt/portmanager/Makefile
@@ -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 --git a/ports-mgmt/portmanager/files/patch-0.4.1_2 b/ports-mgmt/portmanager/files/patch-0.4.1_2
new file mode 100644
index 000000000000..183b93bb70c6
--- /dev/null
+++ b/ports-mgmt/portmanager/files/patch-0.4.1_2
@@ -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 );
+
+ /************************************************************************/