summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-19 11:36:28 +0000
committerlawrance <lawrance@FreeBSD.org>2005-12-19 11:36:28 +0000
commitfb21e321fc22c70c903ec9fef342a86259e10341 (patch)
tree25b5089cfc1f1d92320cb415e2a14237633db82b /ports-mgmt
parent7f0c5c5ab9b0a6a3d539b83a5044475b0be1136a (diff)
downloadFreeBSD-ports-fb21e321fc22c70c903ec9fef342a86259e10341.zip
FreeBSD-ports-fb21e321fc22c70c903ec9fef342a86259e10341.tar.gz
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)
Diffstat (limited to 'ports-mgmt')
-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 b3f1d74..a3d337c 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 0000000..183b93b
--- /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 );
+
+ /************************************************************************/
OpenPOWER on IntegriCloud